OSDN Git Service

staging: rtlwifi: Remove function that only returns zero
authorMaya Nakamura <m.maya.nakamura@gmail.com>
Sat, 27 Oct 2018 10:16:39 +0000 (03:16 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 5 Nov 2018 13:16:33 +0000 (14:16 +0100)
commitf400dc6a66fb2dfc4f5a826c2b1980c9b503223a
tree92d67de2be6a852c8d63483d726a79586ed02bbd
parent948569b72a5daf62559df764f37d5dc39dc76ef7
staging: rtlwifi: Remove function that only returns zero

Because the odm_sq_process_patch_rt_cid_819x_lenovo function is only called
to return zero, remove the unnecessary function and change the section that
calls it. Issues found by Coccinelle's semantic patch results for
returnvar.cocci and checkpatch.pl.

Signed-off-by: Maya Nakamura <m.maya.nakamura@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtlwifi/phydm/phydm_hwconfig.c