isdn: mISDN: socket: Fix set-but-unused variables.
authorDavid S. Miller <davem@davemloft.net>
Sun, 17 Apr 2011 23:48:53 +0000 (16:48 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 17 Apr 2011 23:48:53 +0000 (16:48 -0700)
commit81b424d9e2ef815b2035d4c2be0bc41dddbebc06
tree7b2b1b0cc42a43b6fffac0b1e208c04e3574bfc8
parent07f46f80f4ca4ddb700ff40a19876ba1b3242917
isdn: mISDN: socket: Fix set-but-unused variables.

The variable 'len' is set but unused in data_sock_getsockopt().

The code should use 'len' to validate that the user's socket option is
indeed the right size.

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/mISDN/socket.c