Phonet: do not compute unused value
authorRémi Denis-Courmont <remi.denis-courmont@nokia.com>
Wed, 11 Feb 2009 01:14:50 +0000 (17:14 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Feb 2009 01:14:50 +0000 (17:14 -0800)
Signed-off-by: Rémi Denis-Courmont <remi.denis-courmont@nokia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/phonet/pep.c

index bb3e678..8ad2b53 100644 (file)
@@ -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;