Przeglądaj źródła

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 <johannes@sipsolutions.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Johannes Berg 16 lat temu
rodzic
commit
c86ae82605
1 zmienionych plików z 0 dodań i 1 usunięć
  1. 0 1
      drivers/net/gianfar.c

+ 0 - 1
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;