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>
This commit is contained in:
Родитель
1dacc76d00
Коммит
c86ae82605
|
@ -304,7 +304,6 @@ static int gfar_probe(struct of_device *ofdev,
|
||||||
u32 tempval;
|
u32 tempval;
|
||||||
struct net_device *dev = NULL;
|
struct net_device *dev = NULL;
|
||||||
struct gfar_private *priv = NULL;
|
struct gfar_private *priv = NULL;
|
||||||
DECLARE_MAC_BUF(mac);
|
|
||||||
int err = 0;
|
int err = 0;
|
||||||
int len_devname;
|
int len_devname;
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче