diff options
author | Takashi Iwai <tiwai@suse.de> | 2006-03-24 03:18:23 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-24 07:33:28 -0800 |
commit | 10e705f83c3e796893a70fb872895ba604901166 (patch) | |
tree | 61323e87e4c23de924b83a7acaced7ede6e257fc /drivers/block/paride/on26.c | |
parent | ac515898f35eaf7b77529cb0560115345d73bc15 (diff) | |
download | blackbird-op-linux-10e705f83c3e796893a70fb872895ba604901166.tar.gz blackbird-op-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/block/paride/on26.c')
-rw-r--r-- | drivers/block/paride/on26.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/paride/on26.c b/drivers/block/paride/on26.c index 9f837d9a3639..0f833caa2101 100644 --- a/drivers/block/paride/on26.c +++ b/drivers/block/paride/on26.c @@ -66,7 +66,7 @@ static int on26_read_regr( PIA *pi, int cont, int regr ) case 3: case 4: w3(1); w3(1); w2(5); w4(r); w2(4); w3(0); w3(0); w2(0x24); a = r4(); w2(4); - w2(0x24); r4(); w2(4); + w2(0x24); (void)r4(); w2(4); return a; } |