These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / drivers / s390 / cio / eadm_sch.c
index bee8c11..b3f44bc 100644 (file)
@@ -336,7 +336,6 @@ static int eadm_subchannel_sch_event(struct subchannel *sch, int process)
 {
        struct eadm_private *private;
        unsigned long flags;
-       int ret = 0;
 
        spin_lock_irqsave(sch->lock, flags);
        if (!device_is_registered(&sch->dev))
@@ -356,7 +355,7 @@ static int eadm_subchannel_sch_event(struct subchannel *sch, int process)
 out_unlock:
        spin_unlock_irqrestore(sch->lock, flags);
 
-       return ret;
+       return 0;
 }
 
 static struct css_device_id eadm_subchannel_ids[] = {