]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/staging/winbond/linux/common.h
Staging: w35und: remove abs() and BIT() macros
[karo-tx-linux.git] / drivers / staging / winbond / linux / common.h
index 046dab6b7bff6b0a837cb5bb59227e0ae7a87793..f171b881d95618cc655b012190481c44e2307238 100644 (file)
 #define STATUS_MEDIA_CONNECT 1
 #define STATUS_MEDIA_DISCONNECT 0
 
-#ifndef BIT
-#define BIT(x)                  (1 << (x))
-#endif
-
 //==================================================================================================
 // Common function definition
 //==================================================================================================
-#ifndef abs
-#define abs(_T)                                                        ((_T) < 0 ? -_T : _T)
-#endif
 #define DEBUG_ENABLED
 #define ETH_LENGTH_OF_ADDRESS  6
 #ifdef DEBUG_ENABLED