aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/ov511.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/ov511.c')
-rw-r--r--drivers/media/video/ov511.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/media/video/ov511.c b/drivers/media/video/ov511.c
index e0bce8dc74bf..dd1b1ac1a0ef 100644
--- a/drivers/media/video/ov511.c
+++ b/drivers/media/video/ov511.c
@@ -5916,11 +5916,6 @@ ov51x_disconnect(struct usb_interface *intf)
5916 mutex_lock(&ov->lock); 5916 mutex_lock(&ov->lock);
5917 usb_set_intfdata (intf, NULL); 5917 usb_set_intfdata (intf, NULL);
5918 5918
5919 if (!ov) {
5920 mutex_unlock(&ov->lock);
5921 return;
5922 }
5923
5924 /* Free device number */ 5919 /* Free device number */
5925 ov511_devused &= ~(1 << ov->nr); 5920 ov511_devused &= ~(1 << ov->nr);
5926 5921