diff options
| author | Yury Norov <ynorov@nvidia.com> | 2026-09-03 09:20:36 -0400 |
|---|---|---|
| committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2026-09-29 15:34:09 -0700 |
| commit | 2270d2bf1606fb622737efd4a9ab18551a19034b (patch) | |
| tree | f2f9a34988116934bd581ad840e91b47bfaad53f /include/linux/errqueue.h | |
| parent | f93a165c9bc3cca4338aa9367862c6097163546f (diff) | |
ice: drop pf == NULL check in ice_pf_state_is_nominal()
The function has 3 callers, all except one explicitly require
pf != NULL. Add the corresponding check to the remaining caller,
and remove it from the ice_pf_state_is_nominal(). It makes the
fun function a one-liner.
Signed-off-by: Yury Norov <ynorov@nvidia.com>
Reviewed-by: Sergey Temerkhanov <sergey.temerkhanov@intel.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'include/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions
