diff options
Diffstat (limited to 'drivers/media/rc/rc-main.c')
-rw-r--r-- | drivers/media/rc/rc-main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/rc/rc-main.c b/drivers/media/rc/rc-main.c index 05c096a..62910ac 100644 --- a/drivers/media/rc/rc-main.c +++ b/drivers/media/rc/rc-main.c @@ -1129,8 +1129,7 @@ out_table: out_dev: device_del(&dev->dev); out_unlock: - if (mutex_is_locked(&dev->lock)) - mutex_unlock(&dev->lock); + mutex_unlock(&dev->lock); return rc; } EXPORT_SYMBOL_GPL(rc_register_device); |