From: Nishka Dasgupta Date: Fri, 12 Jul 2019 06:28:01 +0000 (+0530) Subject: staging: wlan-ng: Remove unused function hfa384x_dorrid_async() X-Git-Tag: v5.15~5509^2~334 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bb75c586cabd0d192b9e713143f49b44112e64cb;p=platform%2Fkernel%2Flinux-starfive.git staging: wlan-ng: Remove unused function hfa384x_dorrid_async() Remove unused function hfa384x_dorrid_async. Signed-off-by: Nishka Dasgupta Link: https://lore.kernel.org/r/20190712062807.9361-4-nishkadg.linux@gmail.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/wlan-ng/hfa384x_usb.c b/drivers/staging/wlan-ng/hfa384x_usb.c index 732ffb6..c1a315b 100644 --- a/drivers/staging/wlan-ng/hfa384x_usb.c +++ b/drivers/staging/wlan-ng/hfa384x_usb.c @@ -835,17 +835,6 @@ hfa384x_docmd_async(struct hfa384x *hw, } static inline int -hfa384x_dorrid_async(struct hfa384x *hw, - u16 rid, void *riddata, unsigned int riddatalen, - ctlx_cmdcb_t cmdcb, - ctlx_usercb_t usercb, void *usercb_data) -{ - return hfa384x_dorrid(hw, DOASYNC, - rid, riddata, riddatalen, - cmdcb, usercb, usercb_data); -} - -static inline int hfa384x_dormem_wait(struct hfa384x *hw, u16 page, u16 offset, void *data, unsigned int len) {