From: Guillaume Clement Date: Thu, 24 Jul 2014 23:06:27 +0000 (+0200) Subject: staging: vt6655: remove unused macro X-Git-Tag: firefly_0821_release~176^2~3491^2~212 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1ce87e24095cde26b58cf898cd02e6b27239ae84;p=firefly-linux-kernel-4.4.55.git staging: vt6655: remove unused macro The MAC_MAX_CONTEXT_SIZE macro was not enclosed into parenthesis, which might have caused hard to debug errors, and caused a sparse warning. Since it is unused, we might as well remove it. Signed-off-by: Guillaume Clement Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vt6655/mac.h b/drivers/staging/vt6655/mac.h index 98ade83d0c0d..0bf93759b6af 100644 --- a/drivers/staging/vt6655/mac.h +++ b/drivers/staging/vt6655/mac.h @@ -44,7 +44,6 @@ // #define MAC_MAX_CONTEXT_SIZE_PAGE0 256 #define MAC_MAX_CONTEXT_SIZE_PAGE1 128 -#define MAC_MAX_CONTEXT_SIZE MAC_MAX_CONTEXT_SIZE_PAGE0 + MAC_MAX_CONTEXT_SIZE_PAGE1 // Registers not related to 802.11b #define MAC_REG_BCFG0 0x00