Re: [PATCH] net/faraday: Fix unnecessary check in ftmac100_probe()
From: David Miller
Date: Thu Apr 30 2020 - 15:21:11 EST
From: Tang Bin <tangbin@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 30 Apr 2020 20:15:31 +0800
> The function ftmac100_probe() is only called with an openfirmware
> platform device. Therefore there is no need to check that the passed
> in device is NULL.
>
> Signed-off-by: Zhang Shengju <zhangshengju@xxxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Tang Bin <tangbin@xxxxxxxxxxxxxxxxxxxx>
Applied.