staging: rtl8188eu: Remove unused function c2h_evt_clear()
authornavin patidar <navin.patidar@gmail.com>
Thu, 10 Jul 2014 03:41:31 +0000 (09:11 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Jul 2014 04:08:48 +0000 (21:08 -0700)
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/hal/hal_com.c
drivers/staging/rtl8188eu/include/hal_com.h

index c91a58c..170e3de 100644 (file)
@@ -319,14 +319,3 @@ void hal_init_macaddr(struct adapter *adapter)
        rtw_hal_set_hwreg(adapter, HW_VAR_MAC_ADDR,
                          adapter->eeprompriv.mac_addr);
 }
-
-/*
-* C2H event format:
-* Field         TRIGGER                CONTENT    CMD_SEQ      CMD_LEN          CMD_ID
-* BITS  [127:120]      [119:16]      [15:8]              [7:4]            [3:0]
-*/
-
-void c2h_evt_clear(struct adapter *adapter)
-{
-       usb_write8(adapter, REG_C2HEVT_CLEAR, C2H_EVT_HOST_CLOSE);
-}
index 1527efa..47715d9 100644 (file)
@@ -166,6 +166,4 @@ void HalSetBrateCfg(struct adapter *Adapter, u8 *mBratesOS, u16 *pBrateCfg);
 bool Hal_MappingOutPipe(struct adapter *pAdapter, u8 NumOutPipe);
 
 void hal_init_macaddr(struct adapter *adapter);
-
-void c2h_evt_clear(struct adapter *adapter);
 #endif /* __HAL_COMMON_H__ */