Commit e77471f1 authored by Hao Chen's avatar Hao Chen Committed by David S. Miller

net: e1000: remove repeated words for e1000_hw.c

There are double "in" and "to" in comments, so remove the redundant one.
Signed-off-by: default avatarHao Chen <chenhao288@hisilicon.com>
Signed-off-by: default avatarGuangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4b63b27f
...@@ -2522,7 +2522,7 @@ s32 e1000_check_for_link(struct e1000_hw *hw) ...@@ -2522,7 +2522,7 @@ s32 e1000_check_for_link(struct e1000_hw *hw)
* turn it on. For compatibility with a TBI link * turn it on. For compatibility with a TBI link
* partner, we will store bad packets. Some * partner, we will store bad packets. Some
* frames have an additional byte on the end and * frames have an additional byte on the end and
* will look like CRC errors to to the hardware. * will look like CRC errors to the hardware.
*/ */
if (!hw->tbi_compatibility_on) { if (!hw->tbi_compatibility_on) {
hw->tbi_compatibility_on = true; hw->tbi_compatibility_on = true;
...@@ -2723,7 +2723,7 @@ static void e1000_shift_out_mdi_bits(struct e1000_hw *hw, u32 data, u16 count) ...@@ -2723,7 +2723,7 @@ static void e1000_shift_out_mdi_bits(struct e1000_hw *hw, u32 data, u16 count)
* e1000_shift_in_mdi_bits - Shifts data bits in from the PHY * e1000_shift_in_mdi_bits - Shifts data bits in from the PHY
* @hw: Struct containing variables accessed by shared code * @hw: Struct containing variables accessed by shared code
* *
* Bits are shifted in in MSB to LSB order. * Bits are shifted in MSB to LSB order.
*/ */
static u16 e1000_shift_in_mdi_bits(struct e1000_hw *hw) static u16 e1000_shift_in_mdi_bits(struct e1000_hw *hw)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment