Re: [PATCH] wan: dscc4: fix build warning Wunused-but-set-variable

2015-06-07 Thread David Miller
From: Nicholas Mc Guire hof...@osadl.org Date: Sat, 6 Jun 2015 10:41:17 +0200 Fix: drivers/net/wan/dscc4.c: In function 'dscc4_open': drivers/net/wan/dscc4.c:1049:25: warning: variable 'ppriv' set but not used [-Wunused-but-set-variable] This has been in there unused since 1da177e4c3f

[PATCH] wan: dscc4: fix build warning Wunused-but-set-variable

2015-06-06 Thread Nicholas Mc Guire
Fix: drivers/net/wan/dscc4.c: In function 'dscc4_open': drivers/net/wan/dscc4.c:1049:25: warning: variable 'ppriv' set but not used [-Wunused-but-set-variable] This has been in there unused since 1da177e4c3f (Linux-2.6.12-rc2) simply remove it. Signed-off-by: Nicholas Mc Guire hof...@osadl.org