Re: [PATCH] net/faraday: Fix unnecessary check in ftmac100_probe()
From: David Miller <davem@davemloft.net>
Date: 2020-04-30 19:21:11
Also in:
lkml
From: David Miller <davem@davemloft.net>
Date: 2020-04-30 19:21:11
Also in:
lkml
From: Tang Bin <redacted> 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 <redacted> Signed-off-by: Tang Bin <redacted>
Applied.