net: wan: dlci: Remove set but not used variable 'err'
authorLee Jones <lee.jones@linaro.org>
Fri, 14 Aug 2020 11:39:13 +0000 (12:39 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 15 Aug 2020 03:42:25 +0000 (20:42 -0700)
commit1a2c26681f88c924e15d3bfe0a9fb7a162336777
tree8a5ddbe0a306f718cf44a4f08e9e272418c2bff8
parentfd29aeeec5a1af1a97a42ec2ba307bffdbc563e8
net: wan: dlci: Remove set but not used variable 'err'

Fixes the following W=1 kernel build warning(s):

 drivers/net/wan/dlci.c: In function ‘dlci_close’:
 drivers/net/wan/dlci.c:298:8: warning: variable ‘err’ set but not used [-Wunused-but-set-variable]

Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: Mike McLagan <mike.mclagan@linux.org>
Cc: netdev@vger.kernel.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wan/dlci.c