diff options
| author | 2015-03-09 19:18:24 +0530 | |
|---|---|---|
| committer | 2015-03-15 18:41:10 +0100 | |
| commit | 1ce7948fe18230ae096cdb78211715309de9889c (patch) | |
| tree | 9500857e52e7cdd04cb0904c260e31c6b43737c1 /include/linux/timerqueue.h | |
| parent | staging: vt6655: Fixes the checkpatch.pl warning (diff) | |
Staging: rtl8188eu: Remove redundant local variable
This patch removes a redundant variable "val" and adds
inline return statements. It also adds a default case
to the switch statement which returns 0 to keep the logic
intact.
It also removes a redundant variable "inx" and adds inline
return statements.
This issue is identified by the following coccinelle script.
@@
expression ret;
identifier f;
@@
-ret =
+return
f(...);
-return ret;
Signed-off-by: Somya Anand <somyaanand214@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
