]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging: wlan-ng: Remove function hfa384x_dowmem_async()
authorNishka Dasgupta <nishkadg.linux@gmail.com>
Fri, 12 Jul 2019 06:28:03 +0000 (11:58 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Jul 2019 05:34:11 +0000 (07:34 +0200)
Remove unused function hfa384x_dowmem_async.
Issue found with Coccinelle.

Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com>
Link: https://lore.kernel.org/r/20190712062807.9361-6-nishkadg.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlan-ng/hfa384x_usb.c

index 95dae0b271fc562850c93969376d79cd04a88119..20ac2dbd8a002392c01ee30e01f081a1f86c9c19 100644 (file)
@@ -850,20 +850,6 @@ hfa384x_dowmem_wait(struct hfa384x *hw,
                              page, offset, data, len, NULL, NULL, NULL);
 }
 
-static inline int
-hfa384x_dowmem_async(struct hfa384x *hw,
-                    u16 page,
-                    u16 offset,
-                    void *data,
-                    unsigned int len,
-                    ctlx_cmdcb_t cmdcb,
-                    ctlx_usercb_t usercb, void *usercb_data)
-{
-       return hfa384x_dowmem(hw, DOASYNC,
-                             page, offset, data, len,
-                             cmdcb, usercb, usercb_data);
-}
-
 /*----------------------------------------------------------------
  * hfa384x_cmd_initialize
  *