projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61d566a
)
staging: vt6655: Removing else after break statement to fix warning
author
Dilek Uzulmez
<dilekuzulmez@gmail.com>
Wed, 8 Oct 2014 16:01:47 +0000
(19:01 +0300)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 20 Oct 2014 02:29:16 +0000
(10:29 +0800)
This patch fixes the checkpatch.pl warning in key.c file
WARNING: else is not useful after a break or return
Signed-off-by: Dilek Uzulmez <dilekuzulmez@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6655/key.c
patch
|
blob
|
history
diff --git
a/drivers/staging/vt6655/key.c
b/drivers/staging/vt6655/key.c
index 211afae306c723c8d540fac7744d10ef1924083c..12e8b87c0a60788da4ca37402a722c81beccfa15 100644
(file)
--- a/
drivers/staging/vt6655/key.c
+++ b/
drivers/staging/vt6655/key.c
@@
-374,9
+374,8
@@
bool KeybRemoveKey(
}
s_vCheckKeyTableValid(pTable, dwIoBase);
return true;
- } else {
- return false;
}
+ return false;
}
for (i = 0; i < MAX_KEY_TABLE; i++) {
@@
-394,9
+393,8
@@
bool KeybRemoveKey(
}
s_vCheckKeyTableValid(pTable, dwIoBase);
return true;
- } else {
- return false;
}
+ return false;
}
}
return false;