diff options
author | 2020-04-30 20:15:31 +0800 | |
---|---|---|
committer | 2020-04-30 12:20:54 -0700 | |
commit | 1569a3c44303834680e93df2ecf60f356be9b322 (patch) | |
tree | ebdc263ff85bee66aa62fdebe0b8f2c29b5c67d6 /net/smc/smc_core.c | |
parent | rionet: Fix use correct return type for ndo_start_xmit() (diff) | |
download | wireguard-linux-1569a3c44303834680e93df2ecf60f356be9b322.tar.xz wireguard-linux-1569a3c44303834680e93df2ecf60f356be9b322.zip |
net/faraday: Fix unnecessary check in ftmac100_probe()
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@cmss.chinamobile.com>
Signed-off-by: Tang Bin <tangbin@cmss.chinamobile.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/smc/smc_core.c')
0 files changed, 0 insertions, 0 deletions