i40e: Fix sparse error: 'vsi->netdev' could be null
authorArkadiusz Kubalewski <arkadiusz.kubalewski@intel.com>
Fri, 26 Mar 2021 18:43:42 +0000 (19:43 +0100)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Thu, 8 Apr 2021 17:21:37 +0000 (10:21 -0700)
commit6b5674fe6b9bf05394886ebcec62b2d7dae88c42
tree560cb2f9485934188aaade587ab09d97b80ab7a6
parentd6d04ee6d2c9bb5084c8f6074195d6aa0024e825
i40e: Fix sparse error: 'vsi->netdev' could be null

Remove vsi->netdev->name from the trace.
This is redundant information. With the devinfo trace, the adapter
is already identifiable.

Previously following error was produced when compiling against sparse.
i40e_main.c:2571 i40e_sync_vsi_filters() error:
we previously assumed 'vsi->netdev' could be null (see line 2323)

Fixes: b603f9dc20af ("i40e: Log info when PF is entering and leaving Allmulti mode.")
Signed-off-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Signed-off-by: Arkadiusz Kubalewski <arkadiusz.kubalewski@intel.com>
Tested-by: Dave Switzer <david.switzer@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c