]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rtl8188eu: core: Replace function Set_MSR()
authorNishka Dasgupta <nishkadg.linux@gmail.com>
Fri, 12 Jul 2019 07:17:38 +0000 (12:47 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Jul 2019 05:34:14 +0000 (07:34 +0200)
commit18702902b47dbf5fe1b65609b70c7c09609bc1cb
tree01aa4aac1ec9f8544c46b9254e34fbc4a7429cd9
parent082a4467a851b13c72b040c09414b74708d3a0ca
staging: rtl8188eu: core: Replace function Set_MSR()

Change reference to Set_NETYPE0_MSR to Set_MSR.
Replace the contents of Set_MSR with the contents of Set_NETYPE0_MSR as
Set_MSR does nothing but call Set_NETYPE0_MSR.
Delete Set_NETYPE0_MSR.
Issue found with Coccinelle.

Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com>
Link: https://lore.kernel.org/r/20190712071746.2474-1-nishkadg.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c
drivers/staging/rtl8188eu/core/rtw_wlan_util.c