]> git.baikalelectronics.ru Git - kernel.git/commit
Staging: rtl8723bs: Remove unnecessary local variable in function
authorMadhumitha Prabakaran <madhumithabiw@gmail.com>
Mon, 18 Mar 2019 23:12:33 +0000 (18:12 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 19 Mar 2019 13:32:35 +0000 (14:32 +0100)
commit21d8e8216c6dcf26e906db19350f002560f27620
tree7626b96d60497b25421b20bc814c49f650745a12
parent66ee1df76324122042ea292b79599d866b6b8435
Staging: rtl8723bs: Remove unnecessary local variable in function

Remove unnecessary local variable 'res' in function and
replace the value directly in the return of the function.

Signed-off-by: Madhumitha Prabakaran <madhumithabiw@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_cmd.c