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: http://pilppa.com/gitweb/?a=commitdiff_plain;h=3bd90303f05d24487759e4990c3fed3e7a6b6955;p=linux-2.6-omap-h63xx.git ieee1394: eth1394: superfluous local variable Signed-off-by: Stefan Richter --- diff --git a/drivers/ieee1394/eth1394.c b/drivers/ieee1394/eth1394.c index dc9dce22f6a..7aa0bf3e102 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)) {