[media] SoC Camera: ov6650: minor cleanups

This is a followup patch that addresses two minor issues left in the recently
added ov6650 sensor driver, as I've promised to the subsystem maintainer:
- remove a pair of extra brackets,
- drop useless case for not possible v4l2_mbus_pixelcode enum value of 0.

Created against linux-2.6.37-rc1.

Signed-off-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

authored by Janusz Krzysztofik and committed by Mauro Carvalho Chehab d889eb1e 4b35e625

+1 -3
+1 -3
drivers/media/video/ov6650.c
··· 754 754 755 755 static bool is_unscaled_ok(int width, int height, struct v4l2_rect *rect) 756 756 { 757 - return (width > rect->width >> 1 || height > rect->height >> 1); 757 + return width > rect->width >> 1 || height > rect->height >> 1; 758 758 } 759 759 760 760 static u8 to_clkrc(struct v4l2_fract *timeperframe, ··· 839 839 dev_dbg(&client->dev, "pixel format SBGGR8_1X8 (untested)\n"); 840 840 coma_mask |= COMA_BW | COMA_BYTE_SWAP | COMA_WORD_SWAP; 841 841 coma_set |= COMA_RAW_RGB | COMA_RGB; 842 - break; 843 - case 0: 844 842 break; 845 843 default: 846 844 dev_err(&client->dev, "Pixel format not handled: 0x%x\n", code);