commit | 1dcff44a9d2b74b3de2c854bbf11a5f765e7ba77 | [log] [tgz] |
---|---|---|
author | Wei Yongjun <weiyongjun1@huawei.com> | Wed Nov 06 14:59:21 2019 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Nov 06 21:21:09 2019 -0800 |
tree | 1fee694915d917775a621ac1284af34bcf587cff | |
parent | b97fa0b54447107e572ac7ba6ad0f0fd64170104 [diff] |
net: aquantia: fix return value check in aq_ptp_init() Function ptp_clock_register() returns ERR_PTR() and never returns NULL. The NULL test should be removed. Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Acked-by: Igor Russkikh <irusskikh@marvell.com> Signed-off-by: David S. Miller <davem@davemloft.net>