]> git.baikalelectronics.ru Git - kernel.git/commit
staging: dgnc: Remove driver-wide state variable
authorKonrad Zapalowicz <bergo.torino@gmail.com>
Sat, 16 Aug 2014 14:58:05 +0000 (16:58 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 17 Aug 2014 16:52:24 +0000 (09:52 -0700)
commit8491e4849a3bf4bfc8c61dc4e681c3394cbf1743
tree120614e0d4ef0ba882aaddc653b2444bfa75dd2e
parentc6725ba6d55578f5997c416c3e27f7fb41f80b7a
staging: dgnc: Remove driver-wide state variable

This commit removes the driver's global state variable. This is ok
because the state was changed only once at the end of init phase thus
the future usage of this variable is pointless.

Signed-off-by: Konrad Zapalowicz <bergo.torino@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgnc/dgnc_driver.c
drivers/staging/dgnc/dgnc_driver.h
drivers/staging/dgnc/dgnc_sysfs.c