]> git.dujemihanovic.xyz Git - linux.git/commit
ice: remove redundant non-null check in ice_setup_pf_sw()
authorAnirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Wed, 16 Nov 2022 12:20:32 +0000 (13:20 +0100)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Thu, 19 Jan 2023 16:18:03 +0000 (08:18 -0800)
commitd5a6df44375c88999e94e9ba3bf5c129071fe4cf
treecae94c71e9b73cd0910caec200ab5b9eebbe3e16
parent8aa4318c3a122b8670bc09af142de3872ca63b88
ice: remove redundant non-null check in ice_setup_pf_sw()

Remove a redundant null check, as vsi could not be null at this point.

Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Signed-off-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Tested-by: Gurucharan G <gurucharanx.g@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_main.c