OSDN Git Service

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)
commit1d8c5aa329e7a7a17d9c99122d89d76663195ddb
tree120614e0d4ef0ba882aaddc653b2444bfa75dd2e
parent2fd2914a2e456048e2a176185cb8e7576def452c
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