aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2006-03-24 06:18:23 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-24 10:33:28 -0500
commit10e705f83c3e796893a70fb872895ba604901166 (patch)
tree61323e87e4c23de924b83a7acaced7ede6e257fc /drivers/net
parentac515898f35eaf7b77529cb0560115345d73bc15 (diff)
[PATCH] Fix "value computed not used" warnings
Fixes for annoying gcc-4.1 compile warnings "value computed not used". Simply cast to void. (akpm: Linus will go ballistic...) Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/8139too.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/8139too.c b/drivers/net/8139too.c
index f5ee064ab6b2..feae7832fc84 100644
--- a/drivers/net/8139too.c
+++ b/drivers/net/8139too.c
@@ -1131,7 +1131,7 @@ static void __devexit rtl8139_remove_one (struct pci_dev *pdev)
1131 No extra delay is needed with 33Mhz PCI, but 66Mhz may change this. 1131 No extra delay is needed with 33Mhz PCI, but 66Mhz may change this.
1132 */ 1132 */
1133 1133
1134#define eeprom_delay() RTL_R32(Cfg9346) 1134#define eeprom_delay() (void)RTL_R32(Cfg9346)
1135 1135
1136/* The EEPROM commands include the alway-set leading bit. */ 1136/* The EEPROM commands include the alway-set leading bit. */
1137#define EE_WRITE_CMD (5) 1137#define EE_WRITE_CMD (5)