Re: [PATCH] net:ftgmac100:remove redundant judgement

From: David Miller
Date: Wed Mar 11 2020 - 16:38:55 EST


From: tangbin <tangbin@xxxxxxxxxxxxxxxxxxxx>
Date: Wed, 11 Mar 2020 10:05:37 +0800

> In this function, ftgmac100_probe() can be triggered only
> if the platform_device and platform_driver matches, so the
> judgement at the beginning is redundant.
>
> Signed-off-by: tangbin <tangbin@xxxxxxxxxxxxxxxxxxxx>

Applied to net-next, thanks.