diff options
author | glebius <glebius@FreeBSD.org> | 2006-08-10 11:07:11 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2006-08-10 11:07:11 +0000 |
commit | 9c643e1ad664860c7a4b4862da4621f7436da105 (patch) | |
tree | b23cc5675867cd126061ee7811fb621000c35bf5 /sys/netgraph/ng_pppoe.c | |
parent | cd184a0ca173a9d4626e0a586a52534a1eb56863 (diff) | |
download | FreeBSD-src-9c643e1ad664860c7a4b4862da4621f7436da105.zip FreeBSD-src-9c643e1ad664860c7a4b4862da4621f7436da105.tar.gz |
Some perfectionizm against last revision.
Submitted by: ru
Diffstat (limited to 'sys/netgraph/ng_pppoe.c')
-rw-r--r-- | sys/netgraph/ng_pppoe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netgraph/ng_pppoe.c b/sys/netgraph/ng_pppoe.c index aed83a2..2b91d04 100644 --- a/sys/netgraph/ng_pppoe.c +++ b/sys/netgraph/ng_pppoe.c @@ -693,7 +693,7 @@ ng_pppoe_connect(hook_p hook) { const priv_p privp = NG_NODE_PRIVATE(NG_HOOK_NODE(hook)); struct ng_mesg *msg; - int error = 0; + int error; if (hook != privp->ethernet_hook) return (0); @@ -1023,7 +1023,7 @@ ng_pppoe_rcvmsg(node_p node, item_p item, hook_p lasthook) ETHER_ADDR_LEN); break; default: - error = EINVAL; + LEAVE(EINVAL); } break; default: |