Commit 1ce87e24095cde26b58cf898cd02e6b27239ae84

Authored by Guillaume Clement
Committed by Greg Kroah-Hartman
1 parent 049a8afbaa

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 <gclement@baobob.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Showing 1 changed file with 0 additions and 1 deletions Side-by-side Diff

drivers/staging/vt6655/mac.h
... ... @@ -44,7 +44,6 @@
44 44 //
45 45 #define MAC_MAX_CONTEXT_SIZE_PAGE0 256
46 46 #define MAC_MAX_CONTEXT_SIZE_PAGE1 128
47   -#define MAC_MAX_CONTEXT_SIZE MAC_MAX_CONTEXT_SIZE_PAGE0 + MAC_MAX_CONTEXT_SIZE_PAGE1
48 47  
49 48 // Registers not related to 802.11b
50 49 #define MAC_REG_BCFG0 0x00