lwtunnel: remove unused but set variable
authorRoopa Prabhu <roopa@cumulusnetworks.com>
Tue, 14 Mar 2017 06:04:48 +0000 (23:04 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Mar 2017 06:55:45 +0000 (23:55 -0700)
commit942c56ad07d111714899ec4bfb32212a65f40ac5
tree423fef64983f73d73fc2f0a51a7ed6ff92d00dac
parent92cd12c5ed432c5eebd2462d666772a8d8442c3b
lwtunnel: remove unused but set variable

silences the below warning:
net/core/lwtunnel.c: In function ‘lwtunnel_valid_encap_type_attr’:
net/core/lwtunnel.c:165:17: warning: variable ‘nla’ set but not used
[-Wunused-but-set-variable]

Fixes: 9ed59592e3e3 ("lwtunnel: fix autoload of lwt modules")
Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/lwtunnel.c