summaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-10-28 17:00:48 +0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-03-03 16:34:13 +0300
commitb1a88c713a81705fd2a86d8d8404399f8acc76ba (patch)
tree84b260f9e194e87ebb8db5cc602e3dc3288a5703 /include/uapi/linux
parent097117cab5041cdd85aafc2a8af1113cbdf65e27 (diff)
downloadlinux-b1a88c713a81705fd2a86d8d8404399f8acc76ba.tar.xz
[media] lbdt3306a: simplify the lock status check
The logic there is too complex and it looks like an inifite loop. So, simplify the logic and implement it as a for loop. This gets rid of the following checkpatch.pl warnings: WARNING: else is not generally useful after a break or return + return LG3306_UNLOCK; + } else { WARNING: else is not generally useful after a break or return + return LG3306_UNLOCK; + } else { Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions