Staging: wlan-ng: Remove function hfa384x_drvr_commtallies
authorBhumika Goyal <bhumirks@gmail.com>
Wed, 17 Feb 2016 16:50:08 +0000 (22:20 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Feb 2016 22:53:27 +0000 (14:53 -0800)
The function hfa384x_drvr_commtallies is not used anywhere in the kernel
so remove it. Also remove its prototype from the header file.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlan-ng/hfa384x.h
drivers/staging/wlan-ng/hfa384x_usb.c

index 8dfe4381ddf76fa3a3aa9ddfb6d0cf8a878681cb..4fd3145456a1aaf5f172b1ee5e37b5956774df22 100644 (file)
@@ -1360,7 +1360,6 @@ void hfa384x_destroy(hfa384x_t *hw);
 
 int
 hfa384x_corereset(hfa384x_t *hw, int holdtime, int settletime, int genesis);
-int hfa384x_drvr_commtallies(hfa384x_t *hw);
 int hfa384x_drvr_disable(hfa384x_t *hw, u16 macport);
 int hfa384x_drvr_enable(hfa384x_t *hw, u16 macport);
 int hfa384x_drvr_flashdl_enable(hfa384x_t *hw);
index fda8a95cb721b6e12001feba0d73f30dd4de8aa0..5271d42be6231728767537540a57a304a7c1b705 100644 (file)
@@ -1734,37 +1734,6 @@ done:
        return result;
 }
 
-/*----------------------------------------------------------------
-* hfa384x_drvr_commtallies
-*
-* Send a commtallies inquiry to the MAC.  Note that this is an async
-* call that will result in an info frame arriving sometime later.
-*
-* Arguments:
-*      hw              device structure
-*
-* Returns:
-*      zero            success.
-*
-* Side effects:
-*
-* Call context:
-*      process
-----------------------------------------------------------------*/
-int hfa384x_drvr_commtallies(hfa384x_t *hw)
-{
-       hfa384x_metacmd_t cmd;
-
-       cmd.cmd = HFA384x_CMDCODE_INQ;
-       cmd.parm0 = HFA384x_IT_COMMTALLIES;
-       cmd.parm1 = 0;
-       cmd.parm2 = 0;
-
-       hfa384x_docmd_async(hw, &cmd, NULL, NULL, NULL);
-
-       return 0;
-}
-
 /*----------------------------------------------------------------
 * hfa384x_drvr_disable
 *