]> git.karo-electronics.de Git - linux-beck.git/commit
staging: rtl8188eu: unneeded return variable
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Fri, 7 Nov 2014 11:20:45 +0000 (16:50 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Nov 2014 17:45:35 +0000 (09:45 -0800)
commitc78a964c251bb82aa3454440e082b91a836105ae
treecad9608e51a6c0a00f65090fc2569d640ee69dc3
parent34216792e006d70bcfdf1931e24e4eb2e2af9498
staging: rtl8188eu: unneeded return variable

a variable is declared and initialized and then never updated in the
function.This default value is then used as the return from the
function.
So removed that unneeded return variable and returning that default
initial value directly.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c
drivers/staging/rtl8188eu/core/rtw_recv.c
drivers/staging/rtl8188eu/os_dep/ioctl_linux.c
drivers/staging/rtl8188eu/os_dep/os_intfs.c