diff options
Diffstat (limited to 'drivers/s390/cio/device.c')
-rw-r--r-- | drivers/s390/cio/device.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/s390/cio/device.c b/drivers/s390/cio/device.c index 9be6dd5a5664..a048a5afa124 100644 --- a/drivers/s390/cio/device.c +++ b/drivers/s390/cio/device.c | |||
@@ -1019,8 +1019,6 @@ static void ccw_device_call_sch_unregister(struct work_struct *work) | |||
1019 | void | 1019 | void |
1020 | io_subchannel_recog_done(struct ccw_device *cdev) | 1020 | io_subchannel_recog_done(struct ccw_device *cdev) |
1021 | { | 1021 | { |
1022 | struct subchannel *sch; | ||
1023 | |||
1024 | if (css_init_done == 0) { | 1022 | if (css_init_done == 0) { |
1025 | cdev->private->flags.recog_done = 1; | 1023 | cdev->private->flags.recog_done = 1; |
1026 | return; | 1024 | return; |
@@ -1031,7 +1029,6 @@ io_subchannel_recog_done(struct ccw_device *cdev) | |||
1031 | /* Remove device found not operational. */ | 1029 | /* Remove device found not operational. */ |
1032 | if (!get_device(&cdev->dev)) | 1030 | if (!get_device(&cdev->dev)) |
1033 | break; | 1031 | break; |
1034 | sch = to_subchannel(cdev->dev.parent); | ||
1035 | PREPARE_WORK(&cdev->private->kick_work, | 1032 | PREPARE_WORK(&cdev->private->kick_work, |
1036 | ccw_device_call_sch_unregister); | 1033 | ccw_device_call_sch_unregister); |
1037 | queue_work(slow_path_wq, &cdev->private->kick_work); | 1034 | queue_work(slow_path_wq, &cdev->private->kick_work); |