Patchwork [net] Phonet: do not compute unused value

login
register
mail settings
Submitter Rémi Denis-Courmont
Date Feb. 10, 2009, 2:23 p.m.
Message ID <1234275835-14402-2-git-send-email-remi.denis-courmont@nokia.com>
Download mbox | patch
Permalink /patch/22874/
State Accepted
Delegated to: David Miller
Headers show

Comments

Rémi Denis-Courmont - Feb. 10, 2009, 2:23 p.m.
From: "Remi Denis-Courmont" <remi.denis-courmont@nokia.com>

Signed-off-by: Rémi Denis-Courmont <remi.denis-courmont@nokia.com>
---
 net/phonet/pep.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
David Miller - Feb. 11, 2009, 1:15 a.m.
From: Rémi Denis-Courmont <remi.denis-courmont@nokia.com>
Date: Tue, 10 Feb 2009 16:23:55 +0200

> Signed-off-by: Rémi Denis-Courmont <remi.denis-courmont@nokia.com>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/net/phonet/pep.c b/net/phonet/pep.c
index bb3e678..8ad2b53 100644
--- a/net/phonet/pep.c
+++ b/net/phonet/pep.c
@@ -553,7 +553,7 @@  static int pep_do_rcv(struct sock *sk, struct sk_buff *skb)
 {
 	struct pep_sock *pn = pep_sk(sk);
 	struct sock *sknode;
-	struct pnpipehdr *hdr = pnp_hdr(skb);
+	struct pnpipehdr *hdr;
 	struct sockaddr_pn dst;
 	int err = NET_RX_SUCCESS;
 	u8 pipe_handle;