diff options
author | Takashi Iwai <tiwai@suse.de> | 2006-03-24 12:18:23 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-24 16:33:28 +0100 |
commit | 10e705f83c3e796893a70fb872895ba604901166 (patch) | |
tree | 61323e87e4c23de924b83a7acaced7ede6e257fc /drivers/net/8139too.c | |
parent | [PATCH] deprecate the kernel_thread export (diff) | |
download | linux-10e705f83c3e796893a70fb872895ba604901166.tar.xz linux-10e705f83c3e796893a70fb872895ba604901166.zip |
[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/8139too.c')
-rw-r--r-- | drivers/net/8139too.c | 2 |
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) No extra delay is needed with 33Mhz PCI, but 66Mhz may change this. */ -#define eeprom_delay() RTL_R32(Cfg9346) +#define eeprom_delay() (void)RTL_R32(Cfg9346) /* The EEPROM commands include the alway-set leading bit. */ #define EE_WRITE_CMD (5) |