summaryrefslogtreecommitdiff
path: root/drivers/s390/cio/device.c
diff options
context:
space:
mode:
authorSebastian Ott <sebott@linux.vnet.ibm.com>2009-03-26 14:24:19 (GMT)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2009-03-26 14:24:17 (GMT)
commit0cc110651bed4612074eeb445a23418a5ee34cd0 (patch)
treeaa20769d0d918c9bae7227d16fb355edc0bffc32 /drivers/s390/cio/device.c
parent7a968f0565dc5d0518c784465cc8ce32408102b7 (diff)
downloadlinux-fsl-qoriq-0cc110651bed4612074eeb445a23418a5ee34cd0.tar.xz
[S390] cio: remove unused local variable
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>
Diffstat (limited to 'drivers/s390/cio/device.c')
-rw-r--r--drivers/s390/cio/device.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/s390/cio/device.c b/drivers/s390/cio/device.c
index 9be6dd5..a048a5a 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)
void
io_subchannel_recog_done(struct ccw_device *cdev)
{
- struct subchannel *sch;
-
if (css_init_done == 0) {
cdev->private->flags.recog_done = 1;
return;
@@ -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);