mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-04-01 03:51:31 +00:00
drivers/net/e1000.c: Cleanup whitespace
The patch removes unnecessary whitespace to fix checkpatch's warning: unnecessary whitespace before a quoted newline Signed-off-by: Minghuan Lian <Minghuan.Lian@freescale.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Reviewed-by: York Sun <yorksun@freescale.com>
This commit is contained in:
parent
581508bdfb
commit
5abf13e48a
1 changed files with 4 additions and 4 deletions
|
@ -2174,7 +2174,7 @@ e1000_copper_link_preconfig(struct e1000_hw *hw)
|
||||||
DEBUGOUT("Error, did not detect valid phy.\n");
|
DEBUGOUT("Error, did not detect valid phy.\n");
|
||||||
return ret_val;
|
return ret_val;
|
||||||
}
|
}
|
||||||
DEBUGOUT("Phy ID = %x \n", hw->phy_id);
|
DEBUGOUT("Phy ID = %x\n", hw->phy_id);
|
||||||
|
|
||||||
/* Set PHY to class A mode (if necessary) */
|
/* Set PHY to class A mode (if necessary) */
|
||||||
ret_val = e1000_set_phy_mode(hw);
|
ret_val = e1000_set_phy_mode(hw);
|
||||||
|
@ -3485,11 +3485,11 @@ e1000_config_fc_after_link_up(struct e1000_hw *hw)
|
||||||
* some "sticky" (latched) bits.
|
* some "sticky" (latched) bits.
|
||||||
*/
|
*/
|
||||||
if (e1000_read_phy_reg(hw, PHY_STATUS, &mii_status_reg) < 0) {
|
if (e1000_read_phy_reg(hw, PHY_STATUS, &mii_status_reg) < 0) {
|
||||||
DEBUGOUT("PHY Read Error \n");
|
DEBUGOUT("PHY Read Error\n");
|
||||||
return -E1000_ERR_PHY;
|
return -E1000_ERR_PHY;
|
||||||
}
|
}
|
||||||
if (e1000_read_phy_reg(hw, PHY_STATUS, &mii_status_reg) < 0) {
|
if (e1000_read_phy_reg(hw, PHY_STATUS, &mii_status_reg) < 0) {
|
||||||
DEBUGOUT("PHY Read Error \n");
|
DEBUGOUT("PHY Read Error\n");
|
||||||
return -E1000_ERR_PHY;
|
return -E1000_ERR_PHY;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -5152,7 +5152,7 @@ e1000_poll(struct eth_device *nic)
|
||||||
|
|
||||||
if (!(le32_to_cpu(rd->status)) & E1000_RXD_STAT_DD)
|
if (!(le32_to_cpu(rd->status)) & E1000_RXD_STAT_DD)
|
||||||
return 0;
|
return 0;
|
||||||
/*DEBUGOUT("recv: packet len=%d \n", rd->length); */
|
/* DEBUGOUT("recv: packet len=%d\n", rd->length); */
|
||||||
/* Packet received, make sure the data are re-loaded from RAM. */
|
/* Packet received, make sure the data are re-loaded from RAM. */
|
||||||
len = le32_to_cpu(rd->length);
|
len = le32_to_cpu(rd->length);
|
||||||
invalidate_dcache_range((unsigned long)packet,
|
invalidate_dcache_range((unsigned long)packet,
|
||||||
|
|
Loading…
Add table
Reference in a new issue