diff options
author | Jacob Keller <[email protected]> | 2019-11-08 06:23:30 -0800 |
---|---|---|
committer | Jeff Kirsher <[email protected]> | 2019-11-22 13:43:42 -0800 |
commit | 1748ce80e0a3d4a66667fd154623aa1c33a44875 (patch) | |
tree | 7b4724e213f9670c7c17079ff33c4ecd94988021 /scripts/gdb/linux/tasks.py | |
parent | 87324e747fde7693620f6d4c74aa11b7551e096d (diff) |
ice: remove pointless NULL check of port_info
The code in ice_sched_cleanup_all checks whether the port info is NULL
prior to calling ice_sched_clear_port. However, ice_sched_clear_port
already checks whether port info is non-NULL.
More importantly, it also checks whether the port structure has been
initialized by checking its port_state field as well.
Signed-off-by: Jacob Keller <[email protected]>
Tested-by: Andrew Bowers <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions