From: Guangbin Huang <huangguangbin2@huawei.com>
To: intel-wired-lan@osuosl.org
Subject: [Intel-wired-lan] [PATCH net-next 2/5] net: e1000: remove repeated words for e1000_hw.c
Date: Wed, 19 May 2021 14:14:42 +0800 [thread overview]
Message-ID: <1621404885-20075-3-git-send-email-huangguangbin2@huawei.com> (raw)
In-Reply-To: <1621404885-20075-1-git-send-email-huangguangbin2@huawei.com>
From: Hao Chen <chenhao288@hisilicon.com>
There are double "in" and "to" in comments, so remove the redundant one.
Signed-off-by: Hao Chen <chenhao288@hisilicon.com>
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
---
drivers/net/ethernet/intel/e1000/e1000_hw.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/intel/e1000/e1000_hw.c b/drivers/net/ethernet/intel/e1000/e1000_hw.c
index 19cf36360933..1042e79a1397 100644
--- a/drivers/net/ethernet/intel/e1000/e1000_hw.c
+++ b/drivers/net/ethernet/intel/e1000/e1000_hw.c
@@ -2522,7 +2522,7 @@ s32 e1000_check_for_link(struct e1000_hw *hw)
* turn it on. For compatibility with a TBI link
* partner, we will store bad packets. Some
* 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) {
hw->tbi_compatibility_on = true;
@@ -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
* @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)
{
--
2.8.1
next prev parent reply other threads:[~2021-05-19 6:14 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-19 6:14 [Intel-wired-lan] [PATCH net-next 0/5] net: intel: some cleanups Guangbin Huang
2021-05-19 6:14 ` [Intel-wired-lan] [PATCH net-next 1/5] net: e1000: remove repeated word "slot" for e1000_main.c Guangbin Huang
2021-05-19 6:14 ` Guangbin Huang [this message]
2021-05-19 6:14 ` [Intel-wired-lan] [PATCH net-next 3/5] net: e1000e: remove repeated word "the" for ich8lan.c Guangbin Huang
2021-05-19 6:14 ` [Intel-wired-lan] [PATCH net-next 4/5] net: e1000e: remove repeated word "slot" for netdev.c Guangbin Huang
2021-05-19 6:14 ` [Intel-wired-lan] [PATCH net-next 5/5] net: e1000e: fix misspell word "retreived" Guangbin Huang
2021-05-19 18:48 ` [Intel-wired-lan] [PATCH net-next 0/5] net: intel: some cleanups Nguyen, Anthony L
2021-05-19 19:23 ` David Miller
2021-05-19 19:30 ` patchwork-bot+netdevbpf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1621404885-20075-3-git-send-email-huangguangbin2@huawei.com \
--to=huangguangbin2@huawei.com \
--cc=intel-wired-lan@osuosl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox