[media] media: usb: remove duplicate checks for EPERM in vidioc_g/s_register
authorLad, Prabhakar <prabhakar.csengg@gmail.com>
Tue, 14 May 2013 04:45:16 +0000 (01:45 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 27 May 2013 12:34:33 +0000 (09:34 -0300)
commit625b35229bc491e837b385b7ce1e2a8eece3db0f
tree3a97c1f5447dd830ed622f45ae0a498c472ff13f
parentd5f8fb5b46ed07c4e2a6811eff4ae4368652c9ea
[media] media: usb: remove duplicate checks for EPERM in vidioc_g/s_register

This patch removes check for EPERM in vidioc_g/s_register
as this check is already performed by core.

Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/pvrusb2/pvrusb2-hdw.c