1
0
Fork 0

[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 <schwidefsky@de.ibm.com>
hifive-unleashed-5.1
Martin Schwidefsky 2008-05-07 09:22:56 +02:00
parent 5b8909871b
commit c6ca1850e7
1 changed files with 2 additions and 1 deletions

View File

@ -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)) {