From: Martin Schwidefsky Date: Wed, 7 May 2008 07:22:56 +0000 (+0200) Subject: [S390] s390mach compile warning X-Git-Tag: v2.6.26-rc2~35^2~3 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=c6ca1850e78d60c299ceb4c240a04af9e2384f70;p=linux-2.6-omap-h63xx.git [S390] s390mach compile warning Fix the following compile warning: drivers/s390/s390mach.c: In function 's390_collect_crw_info': drivers/s390/s390mach.c:77: warning: ignoring return value of 'down_interruptibl Signed-off-by: Martin Schwidefsky --- diff --git a/drivers/s390/s390mach.c b/drivers/s390/s390mach.c index 4d4b54277c4..5080f343ad7 100644 --- a/drivers/s390/s390mach.c +++ b/drivers/s390/s390mach.c @@ -48,10 +48,11 @@ s390_collect_crw_info(void *param) int ccode; struct semaphore *sem; unsigned int chain; + int ignore; sem = (struct semaphore *)param; repeat: - down_interruptible(sem); + ignore = down_interruptible(sem); chain = 0; while (1) { if (unlikely(chain > 1)) {