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

From: David Miller
Date: Thu Jan 09 2020 - 21:35:06 EST


From: Dejin Zheng <zhengdejin5@xxxxxxxxx>
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@xxxxxxxxx>
> ---
>
> 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.