diff options
| author | Joe Perches <[email protected]> | 2013-10-23 19:14:51 +0000 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2014-01-07 10:01:42 +0000 |
| commit | da4a733946aa360e2219ce2d33b8d25ce4aa1959 (patch) | |
| tree | b023fd537a41580694d5b6c66311a18e9eadf258 /drivers/media/usb/pwc/pwc-if.c | |
| parent | [media] fix coccinelle warnings (diff) | |
| download | kernel-da4a733946aa360e2219ce2d33b8d25ce4aa1959.tar.gz kernel-da4a733946aa360e2219ce2d33b8d25ce4aa1959.zip | |
[media] media: Remove OOM message after input_allocate_device
Emitting an OOM message isn't necessary after input_allocate_device
as there's a generic OOM and a dump_stack already done.
Signed-off-by: Joe Perches <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
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 /* register webcam snapshot button input device */ pdev->button_dev = input_allocate_device(); if (!pdev->button_dev) { - PWC_ERROR("Err, insufficient memory for webcam snapshot button device."); rc = -ENOMEM; goto err_video_unreg; } |
