i40e: simplify pointer dereferences
authorMitch Williams <mitch.a.williams@intel.com>
Mon, 18 Dec 2017 10:18:02 +0000 (05:18 -0500)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 23 Jan 2018 19:29:19 +0000 (11:29 -0800)
commitbc73234bcdb21169764519e6cac9aabf41e8933b
treee38c4fc1dcc2c43a70d89aca1f3b8ade80ac8782
parentd8a87856607ebcc5456feb96f6a639b2b0fd746f
i40e: simplify pointer dereferences

Now that i40e_vsi_config_tc() has the pf and hw variable defined, use
them, instead of dereferencing vsi->back. Much easier to read.

Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c