mirror of https://gitee.com/openkylin/linux.git
[PASEMI_MAC]: remove unused function
drivers/net/pasemi_mac.c: At top level: drivers/net/pasemi_mac.c:89: warning: 'read_iob_reg' defined but not used Signed-off-by: Satyam Sharma <satyam@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
7a876fae9d
commit
dcffde5345
|
@ -85,11 +85,6 @@ MODULE_PARM_DESC(debug, "PA Semi MAC bitmapped debugging message enable value");
|
|||
|
||||
static struct pasdma_status *dma_status;
|
||||
|
||||
static unsigned int read_iob_reg(struct pasemi_mac *mac, unsigned int reg)
|
||||
{
|
||||
return in_le32(mac->iob_regs+reg);
|
||||
}
|
||||
|
||||
static void write_iob_reg(struct pasemi_mac *mac, unsigned int reg,
|
||||
unsigned int val)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue