From: Greg Kroah-Hartman Date: Fri, 8 Oct 2010 18:52:16 +0000 (-0700) Subject: Staging: brcm80211: remove unused ALIGN_ADDR() macro X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d2733c97faf94ae22f214f3cfb288da3366e6ad5;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git Staging: brcm80211: remove unused ALIGN_ADDR() macro 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 Cc: Henry Ptasinski Cc: Nohee Ko Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/brcm80211/include/bcmutils.h b/drivers/staging/brcm80211/include/bcmutils.h index 40b579f3e1ab..58858d088f7e 100644 --- a/drivers/staging/brcm80211/include/bcmutils.h +++ b/drivers/staging/brcm80211/include/bcmutils.h @@ -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)))