Re: [PATCH 3/3] net: stmmac: replace if (netif_msg_type) by their netif_xxx counterpart

From: David Miller
Date: Thu Nov 17 2016 - 13:31:22 EST


From: Corentin Labbe <clabbe.montjoie@xxxxxxxxx>
Date: Wed, 16 Nov 2016 20:09:41 +0100

> From: LABBE Corentin <clabbe.montjoie@xxxxxxxxx>
>
> As sugested by Joe Perches, we could replace all
> if (netif_msg_type(priv)) dev_xxx(priv->devices, ...)
> by the simpler macro netif_xxx(priv, hw, priv->dev, ...)
>
> Signed-off-by: Corentin Labbe <clabbe.montjoie@xxxxxxxxx>

Applied to net-next.