aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/paride/on26.c
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/block/paride/on26.c
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/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 9f837d9a363..0f833caa210 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 )
66 case 3: 66 case 3:
67 case 4: w3(1); w3(1); w2(5); w4(r); w2(4); 67 case 4: w3(1); w3(1); w2(5); w4(r); w2(4);
68 w3(0); w3(0); w2(0x24); a = r4(); w2(4); 68 w3(0); w3(0); w2(0x24); a = r4(); w2(4);
69 w2(0x24); r4(); w2(4); 69 w2(0x24); (void)r4(); w2(4);
70 return a; 70 return a;
71 71
72 } 72 }