mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-10 15:58:47 +00:00
net: freescale: remove unused compare_addr()
The function did not be used any more, so remove it. Cc: Li Yang <leoli@freescale.com> Cc: netdev@vger.kernel.org Cc: linuxppc-dev@lists.ozlabs.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Ding Tianhong <dingtianhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
306d7f79bb
commit
40803a2450
@ -435,11 +435,6 @@ static void hw_add_addr_in_hash(struct ucc_geth_private *ugeth,
|
|||||||
QE_CR_PROTOCOL_ETHERNET, 0);
|
QE_CR_PROTOCOL_ETHERNET, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline int compare_addr(u8 **addr1, u8 **addr2)
|
|
||||||
{
|
|
||||||
return memcmp(addr1, addr2, ETH_ALEN);
|
|
||||||
}
|
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
static void get_statistics(struct ucc_geth_private *ugeth,
|
static void get_statistics(struct ucc_geth_private *ugeth,
|
||||||
struct ucc_geth_tx_firmware_statistics *
|
struct ucc_geth_tx_firmware_statistics *
|
||||||
|
Loading…
x
Reference in New Issue
Block a user