Re: [PATCH] net/faraday: Fix unnecessary check in ftmac100_probe()

2020-04-30 Thread David Miller
From: Tang Bin 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 > Signed-off-by: Tang Bin Applied.

[PATCH] net/faraday: Fix unnecessary check in ftmac100_probe()

2020-04-30 Thread Tang Bin
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 Signed-off-by: Tang Bin --- drivers/net/ethernet/faraday/ftmac100.c | 3 --- 1 file changed, 3 deletions(-) dif