e1000e: normalize usage of serdes_has_link
Cosmetic change to use struct e1000_mac_info.serdes_has_link consistently as the 'bool' that it's declared as. No functional change. Signed-off-by: Alex Chiang <achiang@hp.com> Acked-by: Jeff Kirsher <Jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
34b0368c68
commit
612e244c12
@@ -1589,7 +1589,7 @@ static int e1000_link_test(struct e1000_adapter *adapter, u64 *data)
|
||||
*data = 0;
|
||||
if (hw->phy.media_type == e1000_media_type_internal_serdes) {
|
||||
int i = 0;
|
||||
hw->mac.serdes_has_link = 0;
|
||||
hw->mac.serdes_has_link = false;
|
||||
|
||||
/*
|
||||
* On some blade server designs, link establishment
|
||||
|
Reference in New Issue
Block a user