l2tp: Fix set-but-unused variables.
authorDavid S. Miller <davem@davemloft.net>
Mon, 18 Apr 2011 00:01:05 +0000 (17:01 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Apr 2011 00:01:05 +0000 (17:01 -0700)
commit8cb490144708ef295421d0601b0866623651a37e
treefd6b542038c938e789c2eea9af54e46767f15cb5
parent6385969b3297287e6259a012671be09c78c20620
l2tp: Fix set-but-unused variables.

The variable 'ret' is set but unused in l2tp_nl_register_ops().

This was obviously meant to maintain error codes which are
returned to the caller, make it so.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/l2tp/l2tp_netlink.c