mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-22 12:27:19 +07:00
staging:rtl8192u: Remove read_cam() - Style
Remove the function read_cam(), as it is unused in code. Simple style change which should not impact runtime code execution. Signed-off-by: John Whitmore <johnfwhitmore@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
fda7c4e00e
commit
491f9f8de1
@ -1091,8 +1091,6 @@ bool init_firmware(struct net_device *dev);
|
||||
short rtl819xU_tx_cmd(struct net_device *dev, struct sk_buff *skb);
|
||||
short rtl8192_tx(struct net_device *dev, struct sk_buff *skb);
|
||||
|
||||
u32 read_cam(struct net_device *dev, u8 addr);
|
||||
|
||||
int read_nic_byte(struct net_device *dev, int x, u8 *data);
|
||||
int read_nic_byte_E(struct net_device *dev, int x, u8 *data);
|
||||
int read_nic_dword(struct net_device *dev, int x, u32 *data);
|
||||
|
@ -237,15 +237,6 @@ static void CamResetAllEntry(struct net_device *dev)
|
||||
write_nic_dword(dev, RWCAM, ulcommand);
|
||||
}
|
||||
|
||||
u32 read_cam(struct net_device *dev, u8 addr)
|
||||
{
|
||||
u32 data;
|
||||
|
||||
write_nic_dword(dev, RWCAM, 0x80000000 | (addr & 0xff));
|
||||
read_nic_dword(dev, 0xa8, &data);
|
||||
return data;
|
||||
}
|
||||
|
||||
int write_nic_byte_E(struct net_device *dev, int indx, u8 data)
|
||||
{
|
||||
int status;
|
||||
|
Loading…
Reference in New Issue
Block a user