All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pavel Belous <Pavel.Belous@aquantia.com>
To: "David S . Miller" <davem@davemloft.net>
Cc: netdev@vger.kernel.org,
	Simon Edelhaus <Simon.Edelhaus@aquantia.com>,
	Alexey Andriyanov <Alexey.Andriyanov@aquantia.com>,
	Lino Sanfilippo <LinoSanfilippo@gmx.de>,
	Pavel Belous <pavel.belous@aquantia.com>
Subject: [PATCH net-next v4 01/12] net: ethernet: aquantia: Removed extra assignment for skb->dev.
Date: Mon, 20 Feb 2017 22:36:39 +0300	[thread overview]
Message-ID: <180874ad8845c295c6744bd7f77864fa6bec26b8.1487618263.git.pavel.belous@aquantia.com> (raw)
In-Reply-To: <cover.1487618263.git.pavel.belous@aquantia.com>

From: Pavel Belous <pavel.belous@aquantia.com>

This assignment is not needed.

Signed-off-by: Pavel Belous <pavel.belous@aquantia.com>
Reviewed-by: Lino Sanfilippo <LinoSanfilippo@gmx.de>
---
 drivers/net/ethernet/aquantia/atlantic/aq_ring.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/net/ethernet/aquantia/atlantic/aq_ring.c b/drivers/net/ethernet/aquantia/atlantic/aq_ring.c
index fed6ac5..22bb75e 100644
--- a/drivers/net/ethernet/aquantia/atlantic/aq_ring.c
+++ b/drivers/net/ethernet/aquantia/atlantic/aq_ring.c
@@ -209,7 +209,6 @@ int aq_ring_rx_clean(struct aq_ring_s *self, int *work_done, int budget)
 				goto err_exit;
 			}
 
-			skb->dev = ndev;
 			skb_put(skb, buff->len);
 		} else {
 			skb = netdev_alloc_skb(ndev, ETH_HLEN);
-- 
2.7.4

  reply	other threads:[~2017-02-20 19:37 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-20 19:36 [PATCH net-next v4 00/12] net: ethernet: aquantia: improvements and fixes Pavel Belous
2017-02-20 19:36 ` Pavel Belous [this message]
2017-02-20 19:36 ` [PATCH net-next v4 02/12] net: ethernet: aquantia: Removed busy_count field Pavel Belous
2017-02-20 19:36 ` [PATCH net-next v4 03/12] net: ethernet: aquantia: Fixes for aq_ndev_change_mtu Pavel Belous
2017-02-20 22:31   ` Lino Sanfilippo
2017-02-20 19:36 ` [PATCH net-next v4 04/12] net: ethernet: aquantia: Using module_pci_driver Pavel Belous
2017-02-20 19:36 ` [PATCH net-next v4 05/12] net: ethernet: aquantia: Superfluous initialization of "err" Pavel Belous
2017-02-20 19:36 ` [PATCH net-next v4 06/12] net: ethernet: aquantia: Fixed missing rtnl_unlock Pavel Belous
2017-02-20 19:36 ` [PATCH net-next v4 07/12] net: ethernet: aquantia: Using NETDEV_TX_OK instead 0 Pavel Belous
2017-02-20 19:36 ` [PATCH net-next v4 08/12] net: ethernet: aquantia: Null pointer check for aq_nic_ndev_alloc Pavel Belous
2017-02-20 19:36 ` [PATCH net-next v4 09/12] net: ethernet: aquantia: Call netdev_register after all initialized Pavel Belous
2017-02-20 22:48   ` Lino Sanfilippo
2017-02-20 19:36 ` [PATCH net-next v4 10/12] net: ethernet: aquantia: Fixed incorrect buff->len calculation Pavel Belous
2017-02-20 19:36 ` [PATCH net-next v4 11/12] net: ethernet: aquantia: Fixed memory allocation if AQ_CFG_RX_FRAME_MAX > 1 page Pavel Belous
2017-02-20 19:36 ` [PATCH net-next v4 12/12] net: ethernet: aquantia: Copying tx buffers is not needed Pavel Belous
2017-02-20 22:51   ` Lino Sanfilippo
2017-02-20 22:12 ` [PATCH net-next v4 00/12] net: ethernet: aquantia: improvements and fixes David Miller

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=180874ad8845c295c6744bd7f77864fa6bec26b8.1487618263.git.pavel.belous@aquantia.com \
    --to=pavel.belous@aquantia.com \
    --cc=Alexey.Andriyanov@aquantia.com \
    --cc=LinoSanfilippo@gmx.de \
    --cc=Simon.Edelhaus@aquantia.com \
    --cc=davem@davemloft.net \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.