Message ID | 1406199809-6720-1-git-send-email-mugunthanvnm@ti.com |
---|---|
State | Accepted, archived |
Delegated to: | David Miller |
Headers | show |
From: Mugunthan V N <mugunthanvnm@ti.com> Date: Thu, 24 Jul 2014 16:33:29 +0530 > removing unused function as part of driver cleanup.` > > Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Applied, thank you. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/net/ethernet/ti/cpsw.c b/drivers/net/ethernet/ti/cpsw.c index c9e86b1..a22deb5 100644 --- a/drivers/net/ethernet/ti/cpsw.c +++ b/drivers/net/ethernet/ti/cpsw.c @@ -1075,17 +1075,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;
removing unused function as part of driver cleanup.` Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> --- drivers/net/ethernet/ti/cpsw.c | 11 ----------- 1 file changed, 11 deletions(-)