diff options
author | dingtianhong <dingtianhong@huawei.com> | 2013-12-26 06:40:18 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-12-26 13:31:32 -0500 |
commit | 40803a2450ef124a6f703b1387fd14080c85e121 (patch) | |
tree | 5421bd047213e4764fc3a08fc87598cbd10ce2a1 /drivers/net/ethernet/freescale/ucc_geth.c | |
parent | 306d7f79bb8169f73180dd1e5986eaca75ffb1d6 (diff) |
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>
Diffstat (limited to 'drivers/net/ethernet/freescale/ucc_geth.c')
-rw-r--r-- | drivers/net/ethernet/freescale/ucc_geth.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/ethernet/freescale/ucc_geth.c b/drivers/net/ethernet/freescale/ucc_geth.c index 5548b6d00c31..72291a8904a9 100644 --- a/drivers/net/ethernet/freescale/ucc_geth.c +++ b/drivers/net/ethernet/freescale/ucc_geth.c | |||
@@ -435,11 +435,6 @@ static void hw_add_addr_in_hash(struct ucc_geth_private *ugeth, | |||
435 | QE_CR_PROTOCOL_ETHERNET, 0); | 435 | QE_CR_PROTOCOL_ETHERNET, 0); |
436 | } | 436 | } |
437 | 437 | ||
438 | static inline int compare_addr(u8 **addr1, u8 **addr2) | ||
439 | { | ||
440 | return memcmp(addr1, addr2, ETH_ALEN); | ||
441 | } | ||
442 | |||
443 | #ifdef DEBUG | 438 | #ifdef DEBUG |
444 | static void get_statistics(struct ucc_geth_private *ugeth, | 439 | static void get_statistics(struct ucc_geth_private *ugeth, |
445 | struct ucc_geth_tx_firmware_statistics * | 440 | struct ucc_geth_tx_firmware_statistics * |