diff options
author | Mugunthan V N <mugunthanvnm@ti.com> | 2014-07-24 15:03:29 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-07-25 10:38:26 +0400 |
commit | ef492001214ba250b3bd18a7a346a047fe079449 (patch) | |
tree | 02ca6bea5a32bc95b83d84300afe0219f1a892e5 | |
parent | 3f6148e76a58eceef1435b65afecaf448b509cfd (diff) | |
download | linux-ef492001214ba250b3bd18a7a346a047fe079449.tar.xz |
drivers: net: cpsw: cleanup: remove unused function
removing unused function as part of driver cleanup.`
Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/ethernet/ti/cpsw.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/net/ethernet/ti/cpsw.c b/drivers/net/ethernet/ti/cpsw.c index 60f925df15e2..999fb72688d2 100644 --- a/drivers/net/ethernet/ti/cpsw.c +++ b/drivers/net/ethernet/ti/cpsw.c @@ -1003,17 +1003,6 @@ static void cpsw_get_ethtool_stats(struct net_device *ndev, } } -static inline int __show_stat(char *buf, int maxlen, const char *name, u32 val) -{ - static char *leader = "........................................"; - - if (!val) - return 0; - else - return snprintf(buf, maxlen, "%s %s %10d\n", name, - leader + strlen(name), val); -} - static int cpsw_common_res_usage_state(struct cpsw_priv *priv) { u32 i; |