From: Wei Yongjun <weiyongjun1@xxxxxxxxxx> Date: Wed, 6 Nov 2019 14:59:21 +0000 > Function ptp_clock_register() returns ERR_PTR() and never returns > NULL. The NULL test should be removed. > > Signed-off-by: Wei Yongjun <weiyongjun1@xxxxxxxxxx> Applied.