aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/paride/on26.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2006-03-24 03:18:23 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-24 07:33:28 -0800
commit10e705f83c3e796893a70fb872895ba604901166 (patch)
tree61323e87e4c23de924b83a7acaced7ede6e257fc /drivers/block/paride/on26.c
parentac515898f35eaf7b77529cb0560115345d73bc15 (diff)
downloadkernel_samsung_smdk4412-10e705f83c3e796893a70fb872895ba604901166.zip
kernel_samsung_smdk4412-10e705f83c3e796893a70fb872895ba604901166.tar.gz
kernel_samsung_smdk4412-10e705f83c3e796893a70fb872895ba604901166.tar.bz2
[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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/paride/on26.c b/drivers/block/paride/on26.c
index 9f837d9..0f833ca 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;
}