aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/videodev2.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-06-05 11:06:46 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-06-05 11:26:48 -0300
commitaf8a819a2513df4be461c6a29e3bdee6e23cf3be (patch)
tree84f7e0ec0e3b33b791484f5d1d0b9ea0b1c73a97 /include/uapi/linux/videodev2.h
parent[media] usbvision: cleanup the code (diff)
downloadlinux-dev-af8a819a2513df4be461c6a29e3bdee6e23cf3be.tar.xz
linux-dev-af8a819a2513df4be461c6a29e3bdee6e23cf3be.zip
[media] lirc_imon: simplify error handling code
Instead of using a state machine and a switch with lots of fall-trough, use gotos and cleanup the error handling loop. That removes those two smatch warnings: drivers/staging/media/lirc/lirc_imon.c:933 imon_probe() warn: possible memory leak of 'context' drivers/staging/media/lirc/lirc_imon.c:933 imon_probe() warn: possible memory leak of 'driver' And make the error handling code more standard. Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'include/uapi/linux/videodev2.h')
0 files changed, 0 insertions, 0 deletions