diff options
| author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2014-10-28 17:00:48 +0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-03-03 16:34:13 +0300 |
| commit | b1a88c713a81705fd2a86d8d8404399f8acc76ba (patch) | |
| tree | 84b260f9e194e87ebb8db5cc602e3dc3288a5703 /include/uapi/linux | |
| parent | 097117cab5041cdd85aafc2a8af1113cbdf65e27 (diff) | |
| download | linux-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
