Staging: speakup: Remove unused variable
authorHaneen Mohammed <hamohammed.sa@gmail.com>
Sat, 7 Mar 2015 21:03:51 +0000 (00:03 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Mar 2015 12:30:40 +0000 (13:30 +0100)
commitf7d63547ea7fe7e4a666aa97e095855e5064b70e
tree70f5ac0096b4c666747e9dda24fe200d1de15178
parent6019ee4095d9a40927060d33e79344a3f34b8a96
Staging: speakup: Remove unused variable

This patch removes variable that was used to store only the return value of a function call.

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

@@
expression ret;
identifier f;
@@

 -ret =
 +return
    f(...);
 -return ret;

Signed-off-by: Haneen Mohammed <hamohammed.sa@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/speakup/kobjects.c