diff options
| author | Ivan Vecera <[email protected]> | 2024-04-27 07:26:02 +0000 |
|---|---|---|
| committer | Tony Nguyen <[email protected]> | 2024-04-30 16:32:53 +0000 |
| commit | b92379dc94c1ee52aa92a64bd4487c1a81db7254 (patch) | |
| tree | b098085b3e58da96394aea26a319e06c1a0a9576 /drivers/net/ethernet/intel/i40e/i40e_debugfs.c | |
| parent | Merge branch 'selftests-net-page_poll-allocation-error-injection' (diff) | |
| download | kernel-b92379dc94c1ee52aa92a64bd4487c1a81db7254.tar.gz kernel-b92379dc94c1ee52aa92a64bd4487c1a81db7254.zip | |
i40e: Remove flags field from i40e_veb
The field is initialized always to zero and it is never read.
Remove it.
Reviewed-by: Michal Schmidt <[email protected]>
Reviewed-by: Aleksandr Loktionov <[email protected]>
Reviewed-by: Kalesh AP <[email protected]>
Tested-by: Pucha Himasekhar Reddy <[email protected]>
Signed-off-by: Ivan Vecera <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/i40e/i40e_debugfs.c')
| -rw-r--r-- | drivers/net/ethernet/intel/i40e/i40e_debugfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/i40e/i40e_debugfs.c b/drivers/net/ethernet/intel/i40e/i40e_debugfs.c index f9ba45f596c9..6147c5f128e8 100644 --- a/drivers/net/ethernet/intel/i40e/i40e_debugfs.c +++ b/drivers/net/ethernet/intel/i40e/i40e_debugfs.c @@ -867,7 +867,7 @@ static ssize_t i40e_dbg_command_write(struct file *filp, goto command_write_done; } - veb = i40e_veb_setup(pf, 0, uplink_seid, vsi_seid, enabled_tc); + veb = i40e_veb_setup(pf, uplink_seid, vsi_seid, enabled_tc); if (veb) dev_info(&pf->pdev->dev, "added relay %d\n", veb->seid); else |
