Commit c3bf67e8 authored by dingsenjie's avatar dingsenjie Committed by Mauro Carvalho Chehab

media: media/usb:Remove superfluous "breaks" in the ttusb_dec.c

Remove superfluous "breaks", as there is a "return" before them.
Signed-off-by: default avatardingsenjie <dingsenjie@yulong.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent 8bca663a
...@@ -1102,11 +1102,9 @@ static int ttusb_dec_start_feed(struct dvb_demux_feed *dvbdmxfeed) ...@@ -1102,11 +1102,9 @@ static int ttusb_dec_start_feed(struct dvb_demux_feed *dvbdmxfeed)
case DMX_TYPE_TS: case DMX_TYPE_TS:
return ttusb_dec_start_ts_feed(dvbdmxfeed); return ttusb_dec_start_ts_feed(dvbdmxfeed);
break;
case DMX_TYPE_SEC: case DMX_TYPE_SEC:
return ttusb_dec_start_sec_feed(dvbdmxfeed); return ttusb_dec_start_sec_feed(dvbdmxfeed);
break;
default: default:
dprintk(" type: unknown (%d)\n", dvbdmxfeed->type); dprintk(" type: unknown (%d)\n", dvbdmxfeed->type);
...@@ -1157,11 +1155,9 @@ static int ttusb_dec_stop_feed(struct dvb_demux_feed *dvbdmxfeed) ...@@ -1157,11 +1155,9 @@ static int ttusb_dec_stop_feed(struct dvb_demux_feed *dvbdmxfeed)
switch (dvbdmxfeed->type) { switch (dvbdmxfeed->type) {
case DMX_TYPE_TS: case DMX_TYPE_TS:
return ttusb_dec_stop_ts_feed(dvbdmxfeed); return ttusb_dec_stop_ts_feed(dvbdmxfeed);
break;
case DMX_TYPE_SEC: case DMX_TYPE_SEC:
return ttusb_dec_stop_sec_feed(dvbdmxfeed); return ttusb_dec_stop_sec_feed(dvbdmxfeed);
break;
} }
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment