mirror of https://gitee.com/openkylin/linux.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 <schwidefsky@de.ibm.com>
This commit is contained in:
parent
5b8909871b
commit
c6ca1850e7
|
@ -48,10 +48,11 @@ s390_collect_crw_info(void *param)
|
||||||
int ccode;
|
int ccode;
|
||||||
struct semaphore *sem;
|
struct semaphore *sem;
|
||||||
unsigned int chain;
|
unsigned int chain;
|
||||||
|
int ignore;
|
||||||
|
|
||||||
sem = (struct semaphore *)param;
|
sem = (struct semaphore *)param;
|
||||||
repeat:
|
repeat:
|
||||||
down_interruptible(sem);
|
ignore = down_interruptible(sem);
|
||||||
chain = 0;
|
chain = 0;
|
||||||
while (1) {
|
while (1) {
|
||||||
if (unlikely(chain > 1)) {
|
if (unlikely(chain > 1)) {
|
||||||
|
|
Loading…
Reference in New Issue