]> git.baikalelectronics.ru Git - kernel.git/commit
wan: dscc4: fix build warning Wunused-but-set-variable
authorNicholas Mc Guire <hofrat@osadl.org>
Sat, 6 Jun 2015 08:41:17 +0000 (10:41 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 7 Jun 2015 07:16:15 +0000 (00:16 -0700)
commit2499bdb88076c48ceaec0dc1724149a3b890cc86
treee737cdce85cded15f868e1ba3b2301067fed7044
parent29e28b8cd82cdbf4a49919712f58560767c8a0e8
wan: dscc4: fix build warning Wunused-but-set-variable

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 <hofrat@osadl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wan/dscc4.c