summaryrefslogtreecommitdiffstats
path: root/net/phonet/pep.c
diff options
context:
space:
mode:
authorRémi Denis-Courmont <remi.denis-courmont@nokia.com>2009-02-10 17:14:50 -0800
committerDavid S. Miller <davem@davemloft.net>2009-02-10 17:14:50 -0800
commit2ddc1ac1b9f00096869a48b97c28de72386200d2 (patch)
tree927c532d8eaef704033c2e42405ebb9ccd92a82f /net/phonet/pep.c
parenta2bf4538714f83fc83ac175c4de296510ae596ae (diff)
downloadlinux-2ddc1ac1b9f00096869a48b97c28de72386200d2.tar.gz
linux-2ddc1ac1b9f00096869a48b97c28de72386200d2.tar.bz2
linux-2ddc1ac1b9f00096869a48b97c28de72386200d2.zip
Phonet: do not compute unused value
Signed-off-by: Rémi Denis-Courmont <remi.denis-courmont@nokia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/phonet/pep.c')
-rw-r--r--net/phonet/pep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/phonet/pep.c b/net/phonet/pep.c
index bb3e67849b38..8ad2b5333881 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;