summaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/dvb-usb/af9005-fe.c
diff options
context:
space:
mode:
authorPeter Senna Tschudin <peter.senna@gmail.com>2014-05-20 07:33:46 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-05-25 17:39:19 -0300
commit444f8bda81a35ae7b1e7558e971b2dbc397d3ca9 (patch)
tree633d1675b4d0f54a6f42841576f989032d4da655 /drivers/media/usb/dvb-usb/af9005-fe.c
parentf57051942fa48ed75928dfa3c392c1a849ba943a (diff)
[media] USB: as102_usb_drv.c: Remove useless return variables
This patch remove variables that are initialized with a constant, are never updated, and are only used as parameter of return. Return the constant instead of using a variable. Verified by compilation only. The coccinelle script that find and fixes this issue is: // <smpl> @@ type T; constant C; identifier ret; @@ - T ret = C; ... when != ret - return ret; + return C; // </smpl> Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/usb/dvb-usb/af9005-fe.c')
0 files changed, 0 insertions, 0 deletions