diff options
Diffstat (limited to 'drivers/media/usb/pwc/pwc-if.c')
-rw-r--r-- | drivers/media/usb/pwc/pwc-if.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/usb/pwc/pwc-if.c b/drivers/media/usb/pwc/pwc-if.c index 78c9bc8e7f56..abf365ab025d 100644 --- a/drivers/media/usb/pwc/pwc-if.c +++ b/drivers/media/usb/pwc/pwc-if.c | |||
@@ -1078,7 +1078,6 @@ static int usb_pwc_probe(struct usb_interface *intf, const struct usb_device_id | |||
1078 | /* register webcam snapshot button input device */ | 1078 | /* register webcam snapshot button input device */ |
1079 | pdev->button_dev = input_allocate_device(); | 1079 | pdev->button_dev = input_allocate_device(); |
1080 | if (!pdev->button_dev) { | 1080 | if (!pdev->button_dev) { |
1081 | PWC_ERROR("Err, insufficient memory for webcam snapshot button device."); | ||
1082 | rc = -ENOMEM; | 1081 | rc = -ENOMEM; |
1083 | goto err_video_unreg; | 1082 | goto err_video_unreg; |
1084 | } | 1083 | } |