Skip to content

Commit

Permalink
media: media/usb:Remove superfluous "breaks" in the ttusb_dec.c
Browse files Browse the repository at this point in the history
Remove superfluous "breaks", as there is a "return" before them.

Signed-off-by: dingsenjie <dingsenjie@yulong.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
  • Loading branch information
dingsenjie authored and mchehab committed Mar 11, 2021
1 parent 8bca663 commit c3bf67e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/media/usb/ttusb-dec/ttusb_dec.c
Original file line number Diff line number Diff line change
Expand Up @@ -1102,11 +1102,9 @@ static int ttusb_dec_start_feed(struct dvb_demux_feed *dvbdmxfeed)

case DMX_TYPE_TS:
return ttusb_dec_start_ts_feed(dvbdmxfeed);
break;

case DMX_TYPE_SEC:
return ttusb_dec_start_sec_feed(dvbdmxfeed);
break;

default:
dprintk(" type: unknown (%d)\n", dvbdmxfeed->type);
Expand Down Expand Up @@ -1157,11 +1155,9 @@ static int ttusb_dec_stop_feed(struct dvb_demux_feed *dvbdmxfeed)
switch (dvbdmxfeed->type) {
case DMX_TYPE_TS:
return ttusb_dec_stop_ts_feed(dvbdmxfeed);
break;

case DMX_TYPE_SEC:
return ttusb_dec_stop_sec_feed(dvbdmxfeed);
break;
}

return 0;
Expand Down

0 comments on commit c3bf67e

Please sign in to comment.