* [PATCH] Net: caifdev is never used in net/caif/caif_dev.c::transmit() - remove it.
@ 2012-02-05 22:50 Jesper Juhl
2012-02-05 22:54 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Jesper Juhl @ 2012-02-05 22:50 UTC (permalink / raw)
To: netdev
Cc: linux-kernel, David S. Miller, Sjur Braendeland,
Remi Denis-Courmont, Sakari Ailus
Signed-off-by: Jesper Juhl <jj@chaosbits.net>
---
net/caif/caif_dev.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/net/caif/caif_dev.c b/net/caif/caif_dev.c
index 82c5706..aa6f716 100644
--- a/net/caif/caif_dev.c
+++ b/net/caif/caif_dev.c
@@ -162,7 +162,6 @@ void caif_flow_cb(struct sk_buff *skb)
static int transmit(struct cflayer *layer, struct cfpkt *pkt)
{
int err, high = 0, qlen = 0;
- struct caif_dev_common *caifdev;
struct caif_device_entry *caifd =
container_of(layer, struct caif_device_entry, layer);
struct sk_buff *skb;
@@ -174,7 +173,6 @@ static int transmit(struct cflayer *layer, struct cfpkt *pkt)
skb->dev = caifd->netdev;
skb_reset_network_header(skb);
skb->protocol = htons(ETH_P_CAIF);
- caifdev = netdev_priv(caifd->netdev);
/* Check if we need to handle xoff */
if (likely(caifd->netdev->tx_queue_len == 0))
--
1.7.9
--
Jesper Juhl <jj@chaosbits.net> http://www.chaosbits.net/
Don't top-post http://www.catb.org/jargon/html/T/top-post.html
Plain text mails only, please.
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Net: caifdev is never used in net/caif/caif_dev.c::transmit() - remove it.
2012-02-05 22:50 [PATCH] Net: caifdev is never used in net/caif/caif_dev.c::transmit() - remove it Jesper Juhl
@ 2012-02-05 22:54 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2012-02-05 22:54 UTC (permalink / raw)
To: jj
Cc: netdev, linux-kernel, sjur.brandeland, remi.denis-courmont, sakari.ailus
From: Jesper Juhl <jj@chaosbits.net>
Date: Sun, 5 Feb 2012 23:50:46 +0100 (CET)
> Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Applied.
I changed the subject prefix to "caif: " and the one for your previous
patch to "decnet: " Please don't put that "Net, " thing there.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-02-05 22:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-05 22:50 [PATCH] Net: caifdev is never used in net/caif/caif_dev.c::transmit() - remove it Jesper Juhl
2012-02-05 22:54 ` David Miller
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).