diff options
author | Helge Deller <deller@gmx.de> | 2008-01-13 09:16:34 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:09:50 -0500 |
commit | 60da481b98082ff5ffd233b18683c3ffe3ab618c (patch) | |
tree | 3660cdeef28b88f3fc6997b299ac5a3158654b20 /drivers/net/wireless/wavelan.p.h | |
parent | eb189d8bc9824bcb2187ffdab27d77ab469264c3 (diff) |
WAVELAN - compile-time check for struct sizes
Convert optional struct size checks to non-optional compile-time checks.
Furthermore BUILD_BUG_ON() which will be optimized away by the compiler.
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/wavelan.p.h')
-rw-r--r-- | drivers/net/wireless/wavelan.p.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/wavelan.p.h b/drivers/net/wireless/wavelan.p.h index fe242812d858..b33ac47dd8df 100644 --- a/drivers/net/wireless/wavelan.p.h +++ b/drivers/net/wireless/wavelan.p.h | |||
@@ -400,7 +400,6 @@ | |||
400 | */ | 400 | */ |
401 | #undef SET_PSA_CRC /* Calculate and set the CRC on PSA (slower) */ | 401 | #undef SET_PSA_CRC /* Calculate and set the CRC on PSA (slower) */ |
402 | #define USE_PSA_CONFIG /* Use info from the PSA. */ | 402 | #define USE_PSA_CONFIG /* Use info from the PSA. */ |
403 | #undef STRUCT_CHECK /* Verify padding of structures. */ | ||
404 | #undef EEPROM_IS_PROTECTED /* doesn't seem to be necessary */ | 403 | #undef EEPROM_IS_PROTECTED /* doesn't seem to be necessary */ |
405 | #define MULTICAST_AVOID /* Avoid extra multicast (I'm sceptical). */ | 404 | #define MULTICAST_AVOID /* Avoid extra multicast (I'm sceptical). */ |
406 | #undef SET_MAC_ADDRESS /* Experimental */ | 405 | #undef SET_MAC_ADDRESS /* Experimental */ |