OSDN Git Service

staging: rtl8192u: Replace function rtl8192_rx_enable()
authorNishka Dasgupta <nishkadg.linux@gmail.com>
Mon, 1 Jul 2019 09:15:52 +0000 (14:45 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Jul 2019 16:32:09 +0000 (18:32 +0200)
commitfeb20855a32ae62315038bac59a92d6489ea9cbe
tree76b597c9446ac294c834f75a47bc9efb52bc8d0a
parent0dbc8368edf0f1b55c4835019450d4c54cc9f6fe
staging: rtl8192u: Replace function rtl8192_rx_enable()

Remove function rtl8192_rx_enable as all it does is call
rtl8192_rx_initiate.
Rename rtl8192_rx_initiate to rtl8192_rx_enable and change its type from
static to non-static to maintain compatibility with call sites of
rtl8192_rx_enable.
Issue found with Coccinelle.

Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com>
Link: https://lore.kernel.org/r/20190701091552.12696-1-nishkadg.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/r8192U_core.c