diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2007-07-17 04:03:46 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-17 10:23:03 -0700 |
commit | 00d59405cf6d7ef8932394ab5a12da1a50ce581e (patch) | |
tree | ccd0c170b673a17792207b2b5816978bb27da436 /drivers/s390 | |
parent | 294462a5c6c4fb9a6ced9cb5a368ff335f1b656e (diff) | |
download | kernel_samsung_smdk4412-00d59405cf6d7ef8932394ab5a12da1a50ce581e.zip kernel_samsung_smdk4412-00d59405cf6d7ef8932394ab5a12da1a50ce581e.tar.gz kernel_samsung_smdk4412-00d59405cf6d7ef8932394ab5a12da1a50ce581e.tar.bz2 |
unregister_blkdev() delete redundant messages in callers
No need to warn unregister_blkdev() failure by the callers. (The previous
patch makes unregister_blkdev() print error message in error case)
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/s390')
-rw-r--r-- | drivers/s390/block/dcssblk.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/s390/block/dcssblk.c b/drivers/s390/block/dcssblk.c index 1340451..35765f6 100644 --- a/drivers/s390/block/dcssblk.c +++ b/drivers/s390/block/dcssblk.c @@ -747,14 +747,9 @@ dcssblk_check_params(void) static void __exit dcssblk_exit(void) { - int rc; - PRINT_DEBUG("DCSSBLOCK EXIT...\n"); s390_root_dev_unregister(dcssblk_root_dev); - rc = unregister_blkdev(dcssblk_major, DCSSBLK_NAME); - if (rc) { - PRINT_ERR("unregister_blkdev() failed!\n"); - } + unregister_blkdev(dcssblk_major, DCSSBLK_NAME); PRINT_DEBUG("...finished!\n"); } |