Re: [Intel-wired-lan] [PATCH net-next] ice: remove redundant null check on pf

2021-01-27 Thread Nguyen, Anthony L
On Wed, 2021-01-27 at 19:50 +0800, wangyunjian wrote: > From: Yunjian Wang > > Before calling ice_set_dflt_mib(), the 'pf' has been dereferenced. > So the additional check is unnecessary, just remove it. > > Addresses-Coverity: ("Dereference before null check") > Fixes: 7d9c9b791f9e ("ice: Imple

[PATCH net-next] ice: remove redundant null check on pf

2021-01-27 Thread wangyunjian
From: Yunjian Wang Before calling ice_set_dflt_mib(), the 'pf' has been dereferenced. So the additional check is unnecessary, just remove it. Addresses-Coverity: ("Dereference before null check") Fixes: 7d9c9b791f9e ("ice: Implement LFC workaround") Signed-off-by: Yunjian Wang --- drivers/net/