]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: rtl8188eu: remove unneeded variable
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Thu, 16 Jul 2015 11:28:10 +0000 (16:58 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 Jul 2015 17:18:09 +0000 (10:18 -0700)
commitce806322730a2b29fd15c7873c09335a49b7a941
treedcd39f86b7aaafaf5d3638b2e09b25c650f8e2b6
parent47ccb34ac72c0dbbb68f6a07ce63e9f0d21510ea
staging: rtl8188eu: remove unneeded variable

The default value of status was _FAIL, it was only changed if kzalloc
succeeds and the check for status is immediately following kzalloc. We
can have the failure code in the else part as the failure code will be
executed only if kzalloc fails.

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