]> git.karo-electronics.de Git - linux-beck.git/commit
staging: rtl8188eu: os_dep: remove unused variable
authorAya Mahfouz <mahfouz.saif.elyazal@gmail.com>
Fri, 27 Feb 2015 12:54:23 +0000 (14:54 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Mar 2015 00:20:00 +0000 (16:20 -0800)
commit5f70306ba0972a13be49c97ade1324b22f6ca1c9
tree7a4812cb3b879898b17bb757a4375616d76a3c4d
parent179e7dcde410d820f38ad80b28e9efe26030bb8d
staging: rtl8188eu: os_dep: remove unused variable

This patch removes a variable that was simply used to
store the return value of a function call before
returning it.

The issue was detected and resolved using the following
coccinelle script:

@@
identifier len,f;
@@

-int len;
 ... when != len
     when strict
-len =
+return
        f(...);
-return len;

Signed-off-by: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/os_dep/ioctl_linux.c