Commit 0cc11065 authored by Sebastian Ott's avatar Sebastian Ott Committed by Martin Schwidefsky
Browse files

[S390] cio: remove unused local variable



Remove unused subchannel pointer in io_subchannel_recog_done.

Signed-off-by: default avatarSebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent 7a968f05
...@@ -1019,8 +1019,6 @@ static void ccw_device_call_sch_unregister(struct work_struct *work) ...@@ -1019,8 +1019,6 @@ static void ccw_device_call_sch_unregister(struct work_struct *work)
void void
io_subchannel_recog_done(struct ccw_device *cdev) io_subchannel_recog_done(struct ccw_device *cdev)
{ {
struct subchannel *sch;
if (css_init_done == 0) { if (css_init_done == 0) {
cdev->private->flags.recog_done = 1; cdev->private->flags.recog_done = 1;
return; return;
...@@ -1031,7 +1029,6 @@ io_subchannel_recog_done(struct ccw_device *cdev) ...@@ -1031,7 +1029,6 @@ io_subchannel_recog_done(struct ccw_device *cdev)
/* Remove device found not operational. */ /* Remove device found not operational. */
if (!get_device(&cdev->dev)) if (!get_device(&cdev->dev))
break; break;
sch = to_subchannel(cdev->dev.parent);
PREPARE_WORK(&cdev->private->kick_work, PREPARE_WORK(&cdev->private->kick_work,
ccw_device_call_sch_unregister); ccw_device_call_sch_unregister);
queue_work(slow_path_wq, &cdev->private->kick_work); queue_work(slow_path_wq, &cdev->private->kick_work);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment