ixgbevf: Fix unnecessary dereference where local var is available.
authorGreg Rose <gregory.v.rose@intel.com>
Fri, 2 Nov 2012 05:50:26 +0000 (05:50 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 15 Nov 2012 13:43:12 +0000 (05:43 -0800)
commit6259a01fb2d458b4157918b2da0d0f42242a9d72
tree40874705611db1778de132322b92c3d6253f4a61
parentb9dd245bc6033a08ee46506cf3cb68d0edceef1d
ixgbevf: Fix unnecessary dereference where local var is available.

Remove dereference of hw pointer from adapter structure since a pointer
to the hw structure has already been allocated off the stack.  Also clean
up useless parenthesis.

Signed-off-by: Greg Rose <gregory.v.rose@intel.com>
Tested-by: Sibai Li <sibai.li@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c