diff options
author | Frank Munzert <munzert@de.ibm.com> | 2009-04-23 11:58:09 (GMT) |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2009-04-23 11:58:17 (GMT) |
commit | 4d7a3cdfb4c9aa1e2ce61f3b16b24eb6acf6726d (patch) | |
tree | 5a4f872906efada82471789b2a130a39a5d54341 /drivers/s390/char/tape_3590.c | |
parent | e1c805309d19c69d4ebeac38724076fa86feacdf (diff) | |
download | linux-4d7a3cdfb4c9aa1e2ce61f3b16b24eb6acf6726d.tar.xz |
[S390] Use tape_generic_offline directly.
tape_3590_offline and tape_34xx_offline are removed and tape_generic_offline
is called directly instead.
Signed-off-by: Frank Munzert <munzert@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/char/tape_3590.c')
-rw-r--r-- | drivers/s390/char/tape_3590.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/s390/char/tape_3590.c b/drivers/s390/char/tape_3590.c index fc1d912..823b05b 100644 --- a/drivers/s390/char/tape_3590.c +++ b/drivers/s390/char/tape_3590.c @@ -1707,19 +1707,13 @@ tape_3590_online(struct ccw_device *cdev) &tape_discipline_3590); } -static int -tape_3590_offline(struct ccw_device *cdev) -{ - return tape_generic_offline(cdev->dev.driver_data); -} - static struct ccw_driver tape_3590_driver = { .name = "tape_3590", .owner = THIS_MODULE, .ids = tape_3590_ids, .probe = tape_generic_probe, .remove = tape_generic_remove, - .set_offline = tape_3590_offline, + .set_offline = tape_generic_offline, .set_online = tape_3590_online, }; |