dect
/
linux-2.6
Archived
13
0
Fork 0

Staging: w35und: remove abs() and BIT() macros

We can use the kernel built-in abs() and BIT() macros the just fine.

Acked-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Pekka Enberg 2008-10-29 20:11:13 +02:00 committed by Greg Kroah-Hartman
parent fc68c7efea
commit 4460a0b4d5
1 changed files with 0 additions and 7 deletions

View File

@ -48,16 +48,9 @@
#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