aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.c
diff options
context:
space:
mode:
authorMike Isely <isely@pobox.com>2008-09-03 20:51:59 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-10-12 07:36:58 -0400
commit2bb87c24d7d5639bff65b41b1306542d6d2bf7d0 (patch)
treecfec14ad4b7584ef80aa26000b942332da571394 /drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.c
parent0cc118671282044b2a87621e16d7722d5e60cd08 (diff)
V4L/DVB (8902): pvrusb2: Remove comment lines which refer to checkpatch's behavior
Signed-off-by: Mike Isely <isely@pobox.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.c')
-rw-r--r--drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.c b/drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.c
index 543fa30b777e..16bb11902a52 100644
--- a/drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.c
+++ b/drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.c
@@ -254,12 +254,8 @@ static void set_crop(struct pvr2_hdw *hdw)
254 254
255static int check_crop(struct pvr2_hdw *hdw) 255static int check_crop(struct pvr2_hdw *hdw)
256{ 256{
257 /* The "0 +" stupidity is present only to get checkpatch.pl to 257 return (hdw->cropl_dirty || hdw->cropt_dirty ||
258 shut up. I _want_ those parantheses present so that the 258 hdw->cropw_dirty || hdw->croph_dirty);
259 two lines automatically line up in my editor. I despise
260 checkpatch.pl. */
261 return 0 + (hdw->cropl_dirty || hdw->cropt_dirty ||
262 hdw->cropw_dirty || hdw->croph_dirty);
263} 259}
264 260
265const struct pvr2_i2c_op pvr2_i2c_op_v4l2_crop = { 261const struct pvr2_i2c_op pvr2_i2c_op_v4l2_crop = {