From 60da481b98082ff5ffd233b18683c3ffe3ab618c Mon Sep 17 00:00:00 2001 From: Helge Deller Date: Sun, 13 Jan 2008 15:16:34 +0100 Subject: 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 Signed-off-by: John W. Linville --- drivers/net/wireless/wavelan.p.h | 1 - 1 file changed, 1 deletion(-) (limited to 'drivers/net/wireless/wavelan.p.h') diff --git a/drivers/net/wireless/wavelan.p.h b/drivers/net/wireless/wavelan.p.h index fe242812d85..b33ac47dd8d 100644 --- a/drivers/net/wireless/wavelan.p.h +++ b/drivers/net/wireless/wavelan.p.h @@ -400,7 +400,6 @@ */ #undef SET_PSA_CRC /* Calculate and set the CRC on 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 */ -- cgit v1.2.3-70-g09d2