projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a968f0
)
[S390] cio: remove unused local variable
author
Sebastian Ott
<
[email protected]
>
Thu, 26 Mar 2009 14:24:19 +0000
(15:24 +0100)
committer
Martin Schwidefsky
<
[email protected]
>
Thu, 26 Mar 2009 14:24:17 +0000
(15:24 +0100)
Remove unused subchannel pointer in io_subchannel_recog_done.
Signed-off-by: Sebastian Ott <
[email protected]
>
Signed-off-by: Martin Schwidefsky <
[email protected]
>
drivers/s390/cio/device.c
patch
|
blob
|
history
diff --git
a/drivers/s390/cio/device.c
b/drivers/s390/cio/device.c
index 9be6dd5a56649f9b9c0fbca514a48a48a4c8b62c..a048a5afa124b60cfd4ef15369edb3e79b7346ca 100644
(file)
--- 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);