Merge branch 'for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck...
[firefly-linux-kernel-4.4.55.git] / drivers / s390 / cio / eadm_sch.c
index bee8c11cd08661008815e1bfb5e9c548f4d1f795..b3f44bc7f64489e32c40d76304b7c73b88456bc8 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[] = {