From: Stefan Richter Date: Sat, 28 Jul 2007 21:44:25 +0000 (+0200) Subject: ieee1394: eth1394: superfluous local variable X-Git-Tag: v2.6.24-rc1~825^2~24 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3bd90303f05d24487759e4990c3fed3e7a6b6955;p=linux-2.6 ieee1394: eth1394: superfluous local variable Signed-off-by: Stefan Richter --- diff --git a/drivers/ieee1394/eth1394.c b/drivers/ieee1394/eth1394.c index dc9dce22f6..7aa0bf3e10 100644 --- a/drivers/ieee1394/eth1394.c +++ b/drivers/ieee1394/eth1394.c @@ -1153,8 +1153,6 @@ static int ether1394_data_handler(struct net_device *dev, int srcid, int destid, pdg->sz++; lh = find_partial_datagram(pdgl, dgl); } else { - struct partial_datagram *pd; - pd = list_entry(lh, struct partial_datagram, list); if (fragment_overlap(&pd->frag_info, fg_off, fg_len)) {