From: Johannes Berg Date: Wed, 15 Jul 2009 18:31:10 +0000 (-0700) Subject: gianfar: remove unused DECLARE_MAC_BUF X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c86ae82605ef92594a0de809a8c588ae955fed63;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git gianfar: remove unused DECLARE_MAC_BUF The use of it was converted to %pM, but the variable stuck -- remove it now to not cause spurious warnings. Signed-off-by: Johannes Berg Signed-off-by: David S. Miller --- diff --git a/drivers/net/gianfar.c b/drivers/net/gianfar.c index 4ae1d259fced..21f5b0af78c9 100644 --- a/drivers/net/gianfar.c +++ b/drivers/net/gianfar.c @@ -304,7 +304,6 @@ static int gfar_probe(struct of_device *ofdev, u32 tempval; struct net_device *dev = NULL; struct gfar_private *priv = NULL; - DECLARE_MAC_BUF(mac); int err = 0; int len_devname;