net: cavium: clean up return value check in cavium_ptp_probe
ptp_clock_register never return NULL, so no need check this in cavium_ptp_probe. Signed-off-by: NYueHaibing <yuehaibing@huawei.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录