diff options
Diffstat (limited to 'drivers/sbus/char/jsflash.c')
-rw-r--r-- | drivers/sbus/char/jsflash.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/sbus/char/jsflash.c b/drivers/sbus/char/jsflash.c index 512857a23169..5157a2abc58d 100644 --- a/drivers/sbus/char/jsflash.c +++ b/drivers/sbus/char/jsflash.c | |||
@@ -619,8 +619,7 @@ static void __exit jsflash_cleanup_module(void) | |||
619 | jsf0.busy = 0; | 619 | jsf0.busy = 0; |
620 | 620 | ||
621 | misc_deregister(&jsf_dev); | 621 | misc_deregister(&jsf_dev); |
622 | if (unregister_blkdev(JSFD_MAJOR, "jsfd") != 0) | 622 | unregister_blkdev(JSFD_MAJOR, "jsfd"); |
623 | printk("jsfd: cleanup_module failed\n"); | ||
624 | blk_cleanup_queue(jsf_queue); | 623 | blk_cleanup_queue(jsf_queue); |
625 | } | 624 | } |
626 | 625 | ||