[PATCH v3] net: stmmac: pci: remove the duplicate code of set phy_mask

David Miller davem at davemloft.net
Thu Jan 9 18:35:03 PST 2020

From: Dejin Zheng <zhengdejin5 at gmail.com>
Date: Wed,  8 Jan 2020 21:56:49 +0800

> All members of mdio_bus_data are cleared to 0 when it was obtained
> by devm_kzalloc(). so It doesn't need to set phy_mask as 0 again.
> Signed-off-by: Dejin Zheng <zhengdejin5 at gmail.com>
> ---
> Changes since v2:
>     Abandoned the other commits, now only this one commit is
>     in the patch set.
> Changes since v1:
>     adjust some commit comments.

Applied to net-next, thanks.

More information about the linux-arm-kernel mailing list