diff options
Diffstat (limited to 'kernel/drivers/md/dm-ioctl.c')
-rw-r--r-- | kernel/drivers/md/dm-ioctl.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/kernel/drivers/md/dm-ioctl.c b/kernel/drivers/md/dm-ioctl.c index 720ceeb7f..80a439543 100644 --- a/kernel/drivers/md/dm-ioctl.c +++ b/kernel/drivers/md/dm-ioctl.c @@ -1919,9 +1919,7 @@ int __init dm_interface_init(void) void dm_interface_exit(void) { - if (misc_deregister(&_dm_misc) < 0) - DMERR("misc_deregister failed for control device"); - + misc_deregister(&_dm_misc); dm_hash_exit(); } |