diff options
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/video/zr364xx.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/video/zr364xx.c b/drivers/media/video/zr364xx.c index bf68ed9c5eb6..93023560f324 100644 --- a/drivers/media/video/zr364xx.c +++ b/drivers/media/video/zr364xx.c | |||
@@ -893,7 +893,6 @@ static void zr364xx_disconnect(struct usb_interface *intf) | |||
893 | { | 893 | { |
894 | struct zr364xx_camera *cam = usb_get_intfdata(intf); | 894 | struct zr364xx_camera *cam = usb_get_intfdata(intf); |
895 | usb_set_intfdata(intf, NULL); | 895 | usb_set_intfdata(intf, NULL); |
896 | dev_set_drvdata(&intf->dev, NULL); | ||
897 | dev_info(&intf->dev, DRIVER_DESC " webcam unplugged\n"); | 896 | dev_info(&intf->dev, DRIVER_DESC " webcam unplugged\n"); |
898 | if (cam->vdev) | 897 | if (cam->vdev) |
899 | video_unregister_device(cam->vdev); | 898 | video_unregister_device(cam->vdev); |