ixgbe: clear the data field in ixgbe_read_i2c_byte_generic
authorEmil Tantilov <emil.s.tantilov@intel.com>
Tue, 30 Aug 2011 13:33:51 +0000 (13:33 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 5 Oct 2011 09:53:24 +0000 (02:53 -0700)
commit3fbaa3ac0d47e0cbad9bb65f0b71a5ce3ef1b76c
treea69f27c7455ec06e7b23adb759d966f3409e1a25
parent7edebf9a6aac07e2ebb3901b60672293a7139ad0
ixgbe: clear the data field in ixgbe_read_i2c_byte_generic

Clear the data field in ixgbe_read_i2c_byte_generic so it does not
accumulate 1 bit using the same variable multiple times.

Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c