netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Corcodel Marian <asd@marian1000.go.ro>
To: netdev@vger.kernel.org
Cc: Corcodel Marian <asd@marian1000.go.ro>
Subject: [net] r8169   Remove duplicate command which set RxVlan and RxChksum bits.
Date: Sun, 31 Jan 2016 17:33:08 +0200	[thread overview]
Message-ID: <1454254388-15523-1-git-send-email-asd@marian1000.go.ro> (raw)

 These bits is already set on set geatures stage.

Signed-off-by: Corcodel Marian <asd@marian1000.go.ro>
---
 drivers/net/ethernet/realtek/r8169.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/net/ethernet/realtek/r8169.c b/drivers/net/ethernet/realtek/r8169.c
index 17d5571..a8fb86d 100644
--- a/drivers/net/ethernet/realtek/r8169.c
+++ b/drivers/net/ethernet/realtek/r8169.c
@@ -8368,7 +8368,6 @@ static int rtl_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
 	dev->vlan_features = NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_TSO |
 		NETIF_F_HIGHDMA;
 
-	tp->cp_cmd |= RxChkSum | RxVlan;
 
 	/*
 	 * Pretend we are using VLANs; This bypasses a nasty bug where
-- 
2.5.0

             reply	other threads:[~2016-01-31 15:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-31 15:33 Corcodel Marian [this message]
2016-01-31 17:17 ` [net] r8169 Remove duplicate command which set RxVlan and RxChksum bits Sergei Shtylyov
2016-01-31 17:17 ` Sergei Shtylyov
2016-02-18  5:25 ` Simon Horman

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=1454254388-15523-1-git-send-email-asd@marian1000.go.ro \
    --to=asd@marian1000.go.ro \
    --cc=netdev@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).