]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
staging: rtl8188eu: Remove unused function efuse_GetCurrentSize()
authornavin patidar <navin.patidar@gmail.com>
Thu, 10 Jul 2014 03:42:18 +0000 (09:12 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Jul 2014 04:15:21 +0000 (21:15 -0700)
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_efuse.c
drivers/staging/rtl8188eu/include/rtw_efuse.h

index 82a54b56aff6186bff1dd87d401d13dcbe43d777..0e20d5cd005a1415b386d342776bc918617240d7 100644 (file)
@@ -1042,15 +1042,6 @@ u16 efuse_GetMaxSize(struct adapter *padapter)
        return max_size;
 }
 
-u8 efuse_GetCurrentSize(struct adapter *padapter, u16 *size)
-{
-       Efuse_PowerSwitch(padapter, false, true);
-       *size = Efuse_GetCurrentSize(padapter);
-       Efuse_PowerSwitch(padapter, false, false);
-
-       return _SUCCESS;
-}
-
 u8 rtw_efuse_map_read(struct adapter *padapter, u16 addr, u16 cnts, u8 *data)
 {
        u16 mapLen = 0;
index b608b92bd22c44c3c0ef4de363f062b37ce4b128..6b5650134337a81aabaa7d535ee45a26401d4fd0 100644 (file)
@@ -99,7 +99,6 @@ struct efuse_hal {
        u8 fakeBTEfuseModifiedMap[EFUSE_BT_MAX_MAP_LEN];
 };
 
-u8 efuse_GetCurrentSize(struct adapter *adapter, u16 *size);
 u16 efuse_GetMaxSize(struct adapter *adapter);
 u8 rtw_efuse_access(struct adapter *adapter, u8 read, u16 start_addr,
                    u16 cnts, u8 *data);