summaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/dvb-usb-v2/mxl111sf.c
diff options
context:
space:
mode:
authorPeter Senna Tschudin <peter.senna@gmail.com>2014-05-31 13:30:52 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-07-04 15:35:27 -0300
commit4df16f702c38221f611006bda45377278b2ec325 (patch)
tree26212f5531c376d62a353658976e3e71cc67a9e6 /drivers/media/usb/dvb-usb-v2/mxl111sf.c
parent931387fa941ec0da2f4a6999bec69bc608af311e (diff)
downloadop-kernel-dev-4df16f702c38221f611006bda45377278b2ec325.zip
op-kernel-dev-4df16f702c38221f611006bda45377278b2ec325.tar.gz
[media] drivers/media: 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 when strict return - ret + C ; // </smpl> Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/usb/dvb-usb-v2/mxl111sf.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud