From: Rémi Denis-Courmont Date: Wed, 11 Feb 2009 01:14:50 +0000 (-0800) Subject: Phonet: do not compute unused value X-Git-Tag: v2.6.29-rc5~3^2~29 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2ddc1ac1b9f00096869a48b97c28de72386200d2;p=thirdparty%2Flinux.git Phonet: do not compute unused value Signed-off-by: Rémi Denis-Courmont Signed-off-by: David S. Miller --- diff --git a/net/phonet/pep.c b/net/phonet/pep.c index bb3e67849b38c..8ad2b53338817 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;