diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2009-12-07 11:52:02 (GMT) |
---|---|---|
committer | Martin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com> | 2009-12-07 11:51:36 (GMT) |
commit | 1b52fff059d660d4bf83d97c389dd80f1e6aad9a (patch) | |
tree | ac86a09d41e8e7301e8740f82ed0782cfe61330f /drivers/cdrom | |
parent | c1b283d55d1806680e3ad1cfbef581afecbea5cb (diff) | |
download | linux-1b52fff059d660d4bf83d97c389dd80f1e6aad9a.tar.xz |
[S390] tape: fix tape remove function
Fix a bug introduced with git commit dff59b64af94dc58:
- if (cdev->dev.driver_data != NULL) {
+ if (!dev_get_drvdata(&cdev->dev)) {
These two are not equivalent.
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/cdrom')
0 files changed, 0 insertions, 0 deletions