summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_ptp.h
diff options
context:
space:
mode:
authorJacob Keller <jacob.e.keller@intel.com>2021-06-14 09:59:16 -0700
committerTony Nguyen <anthony.l.nguyen@intel.com>2021-06-17 09:24:27 -0700
commit1e00113413a48b6e683244817ea04df95c515d46 (patch)
tree8c3ea8288d7e6ea9fb8e2f9c0d2c768068014220 /drivers/net/ethernet/intel/ice/ice_ptp.h
parentb13ad3e08df7b434db5e675f47c3201051f41b05 (diff)
downloadlinux-1e00113413a48b6e683244817ea04df95c515d46.tar.bz2
ice: remove unnecessary NULL checks before ptp_read_system_*
The ptp_read_system_prets and ptp_read_system_postts functions already check for the NULL value of the ptp_system_timestamp structure pointer. There is no need to check this manually in the ice driver code. Remove the checks. Reported-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Jacob Keller <jacob.e.keller@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_ptp.h')
0 files changed, 0 insertions, 0 deletions