diff options
author | Helge Deller <deller@gmx.de> | 2008-01-13 15:16:34 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 15:09:50 -0800 |
commit | 60da481b98082ff5ffd233b18683c3ffe3ab618c (patch) | |
tree | 3660cdeef28b88f3fc6997b299ac5a3158654b20 /drivers/net/wireless/wavelan_cs.p.h | |
parent | eb189d8bc9824bcb2187ffdab27d77ab469264c3 (diff) | |
download | kernel_samsung_tuna-60da481b98082ff5ffd233b18683c3ffe3ab618c.zip kernel_samsung_tuna-60da481b98082ff5ffd233b18683c3ffe3ab618c.tar.gz kernel_samsung_tuna-60da481b98082ff5ffd233b18683c3ffe3ab618c.tar.bz2 |
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_cs.p.h')
-rw-r--r-- | drivers/net/wireless/wavelan_cs.p.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/wavelan_cs.p.h b/drivers/net/wireless/wavelan_cs.p.h index ca551a5..33dd970 100644 --- a/drivers/net/wireless/wavelan_cs.p.h +++ b/drivers/net/wireless/wavelan_cs.p.h @@ -459,7 +459,6 @@ #undef WAVELAN_ROAMING_EXT /* Enable roaming wireless extensions */ #undef SET_PSA_CRC /* Set the CRC in PSA (slower) */ #define USE_PSA_CONFIG /* Use info from the PSA */ -#undef STRUCT_CHECK /* Verify padding of structures */ #undef EEPROM_IS_PROTECTED /* Doesn't seem to be necessary */ #define MULTICAST_AVOID /* Avoid extra multicast (I'm sceptical) */ #undef SET_MAC_ADDRESS /* Experimental */ |