Skip to content
Commit 53b44cb9 authored by YueHaibing's avatar YueHaibing Committed by David S. Miller
Browse files

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: default avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 21f49468
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment