Remove some dead and incorrect code.

Found with:   Coverity Prevent(tm)
CID:          4562
This commit is contained in:
Alexander Motin 2010-06-05 10:16:23 +00:00
parent f1893540ff
commit 5a73d193c4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=208824

View File

@ -1281,7 +1281,7 @@ ng_pppoe_rcvdata_ether(hook_p hook, item_p item)
{
node_p node = NG_HOOK_NODE(hook);
const priv_p privp = NG_NODE_PRIVATE(node);
sessp sp = NG_HOOK_PRIVATE(hook);
sessp sp;
const struct pppoe_tag *utag = NULL, *tag = NULL;
const struct pppoe_full_hdr *wh;
const struct pppoe_hdr *ph;