Skip to content

Commit

Permalink
[S390] cio: remove unused local variable
Browse files Browse the repository at this point in the history
Remove unused subchannel pointer in io_subchannel_recog_done.

Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
  • Loading branch information
Sebastian Ott authored and Martin Schwidefsky committed Mar 26, 2009
1 parent 7a968f0 commit 0cc1106
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/s390/cio/device.c
Original file line number Diff line number Diff line change
Expand Up @@ -1019,8 +1019,6 @@ static void ccw_device_call_sch_unregister(struct work_struct *work)
void
io_subchannel_recog_done(struct ccw_device *cdev)
{
struct subchannel *sch;

if (css_init_done == 0) {
cdev->private->flags.recog_done = 1;
return;
Expand All @@ -1031,7 +1029,6 @@ io_subchannel_recog_done(struct ccw_device *cdev)
/* Remove device found not operational. */
if (!get_device(&cdev->dev))
break;
sch = to_subchannel(cdev->dev.parent);
PREPARE_WORK(&cdev->private->kick_work,
ccw_device_call_sch_unregister);
queue_work(slow_path_wq, &cdev->private->kick_work);
Expand Down

0 comments on commit 0cc1106

Please sign in to comment.