mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-10 20:02:10 -04:00
staging: rtl8192e: Remove dead code: read/write_cam
Both functions are never used. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
0ac3bb4ef4
commit
e6d948a57d
@@ -36,18 +36,6 @@ void CamResetAllEntry(struct net_device *dev)
|
||||
write_nic_dword(dev, RWCAM, ulcommand);
|
||||
}
|
||||
|
||||
void write_cam(struct net_device *dev, u8 addr, u32 data)
|
||||
{
|
||||
write_nic_dword(dev, WCAMI, data);
|
||||
write_nic_dword(dev, RWCAM, BIT31|BIT16|(addr&0xff));
|
||||
}
|
||||
|
||||
u32 read_cam(struct net_device *dev, u8 addr)
|
||||
{
|
||||
write_nic_dword(dev, RWCAM, 0x80000000|(addr&0xff));
|
||||
return read_nic_dword(dev, 0xa8);
|
||||
}
|
||||
|
||||
void EnableHWSecurityConfig8192(struct net_device *dev)
|
||||
{
|
||||
u8 SECR_value = 0x0;
|
||||
|
||||
@@ -34,10 +34,6 @@ void setKey(struct net_device *dev, u8 EntryNo, u8 KeyIndex, u16 KeyType,
|
||||
const u8 *MacAddr, u8 DefaultKey, u32 *KeyContent);
|
||||
void set_swcam(struct net_device *dev, u8 EntryNo, u8 KeyIndex, u16 KeyType,
|
||||
const u8 *MacAddr, u8 DefaultKey, u32 *KeyContent, u8 is_mesh);
|
||||
|
||||
u32 read_cam(struct net_device *dev, u8 addr);
|
||||
void write_cam(struct net_device *dev, u8 addr, u32 data);
|
||||
|
||||
void CamRestoreAllEntry(struct net_device *dev);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user