Skip to content

Commit

Permalink
[media] cx231xx-avcore: get rid of a sophisticated do-nothing code
Browse files Browse the repository at this point in the history
drivers/media/usb/cx231xx/cx231xx-avcore.c: In function 'cx231xx_capture_start':
drivers/media/usb/cx231xx/cx231xx-avcore.c:2637:3: warning: suggest braces around empty body in an 'else' statement [-Wempty-body]

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Mauro Carvalho Chehab committed Oct 27, 2012
1 parent d4c0613 commit fb1546e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions drivers/media/usb/cx231xx/cx231xx-avcore.c
Original file line number Diff line number Diff line change
Expand Up @@ -2631,11 +2631,6 @@ int cx231xx_capture_start(struct cx231xx *dev, int start, u8 media_type)
rc = cx231xx_stop_stream(dev, ep_mask);
}

if (dev->mode == CX231XX_ANALOG_MODE)
;/* do any in Analog mode */
else
;/* do any in digital mode */

return rc;
}
EXPORT_SYMBOL_GPL(cx231xx_capture_start);
Expand Down

0 comments on commit fb1546e

Please sign in to comment.