[S390] tape: fix tape remove function
Fix a bug introduced with git commit dff59b64 : - 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>
parent
c1b283d5
Please register or sign in to comment