Staging: brcm80211: remove unused ALIGN_ADDR() macro
authorGreg Kroah-Hartman <gregkh@suse.de>
Fri, 8 Oct 2010 18:52:16 +0000 (11:52 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 8 Oct 2010 18:52:16 +0000 (11:52 -0700)
It's not used (and there's a kernel provided one if it's ever needed in
the future), so remove it.

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/include/bcmutils.h

index 40b579f..58858d0 100644 (file)
@@ -452,8 +452,6 @@ extern "C" {
 #define CEIL(x, y)             (((x) + ((y)-1)) / (y))
 #define        ROUNDUP(x, y)           ((((x)+((y)-1))/(y))*(y))
 #define        ISALIGNED(a, x)         (((a) & ((x)-1)) == 0)
-#define ALIGN_ADDR(addr, boundary) (void *)(((uintptr)(addr) + (boundary) - 1) \
-       & ~((boundary) - 1))
 #define        ISPOWEROF2(x)           ((((x)-1)&(x)) == 0)
 #define VALID_MASK(mask)       (!((mask) & ((mask) + 1)))