]> www.infradead.org Git - users/jedix/linux-maple.git/commit
i40e: add hw struct local variable
authorMitch Williams <mitch.a.williams@intel.com>
Mon, 16 May 2016 17:26:32 +0000 (10:26 -0700)
committerDhaval Giani <dhaval.giani@oracle.com>
Wed, 8 Mar 2017 00:30:21 +0000 (19:30 -0500)
commitff701c630c0d967f52dcc40b0fff1fe8ed86ae07
tree13836e0d63f86b2584c13d0deb7a70c0c92f04cf
parentdc620837cc9d5ad60b5379ad8905849f8a49de14
i40e: add hw struct local variable

Orabug: 24568124

This function uses the i40e_hw struct all over the place, so why doesn't
it keep a pointer to the struct? Add this pointer as a local variable
and use it consistently throughout the function.

Change-ID: I10eb688fe40909433fcb8ac7ac891cef67445d72
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>
(cherry picked from commit 3e25a8f31af1c740c6ba2c7ad74d91830fd630c8)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
Conflicts:
drivers/net/ethernet/intel/i40e/i40e_main.c

Signed-off-by: Dhaval Giani <dhaval.giani@oracle.com>
drivers/net/ethernet/intel/i40e/i40e_main.c