diff options
Diffstat (limited to 'drivers/media/usb/pvrusb2/pvrusb2-v4l2.c')
-rw-r--r-- | drivers/media/usb/pvrusb2/pvrusb2-v4l2.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/drivers/media/usb/pvrusb2/pvrusb2-v4l2.c b/drivers/media/usb/pvrusb2/pvrusb2-v4l2.c index 7c280f35eea9..1b158f1167ed 100644 --- a/drivers/media/usb/pvrusb2/pvrusb2-v4l2.c +++ b/drivers/media/usb/pvrusb2/pvrusb2-v4l2.c | |||
@@ -951,15 +951,9 @@ static long pvr2_v4l2_ioctl(struct file *file, | |||
951 | if (ret < 0) { | 951 | if (ret < 0) { |
952 | if (pvrusb2_debug & PVR2_TRACE_V4LIOCTL) { | 952 | if (pvrusb2_debug & PVR2_TRACE_V4LIOCTL) { |
953 | pvr2_trace(PVR2_TRACE_V4LIOCTL, | 953 | pvr2_trace(PVR2_TRACE_V4LIOCTL, |
954 | "pvr2_v4l2_do_ioctl failure, ret=%ld", ret); | 954 | "pvr2_v4l2_do_ioctl failure, ret=%ld" |
955 | } else { | 955 | " command was:", ret); |
956 | if (pvrusb2_debug & PVR2_TRACE_V4LIOCTL) { | 956 | v4l_printk_ioctl(pvr2_hdw_get_driver_name(hdw), cmd); |
957 | pvr2_trace(PVR2_TRACE_V4LIOCTL, | ||
958 | "pvr2_v4l2_do_ioctl failure, ret=%ld" | ||
959 | " command was:", ret); | ||
960 | v4l_printk_ioctl(pvr2_hdw_get_driver_name(hdw), | ||
961 | cmd); | ||
962 | } | ||
963 | } | 957 | } |
964 | } else { | 958 | } else { |
965 | pvr2_trace(PVR2_TRACE_V4LIOCTL, | 959 | pvr2_trace(PVR2_TRACE_V4LIOCTL, |