diff options
author | Jacob Keller <jacob.e.keller@intel.com> | 2021-06-14 09:59:16 -0700 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2021-06-17 09:24:27 -0700 |
commit | 1e00113413a48b6e683244817ea04df95c515d46 (patch) | |
tree | 8c3ea8288d7e6ea9fb8e2f9c0d2c768068014220 /drivers/net/ethernet/intel/ice/ice_ptp.h | |
parent | b13ad3e08df7b434db5e675f47c3201051f41b05 (diff) |
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