[WATCHDOG] Remove volatiles from watchdog device structures
Remove the volatile since those are useless in such a structure. Signed-off-by: Florian Fainelli <florian.fainelli@telecomint.eu> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
This commit is contained in:
Родитель
fa9363c5f8
Коммит
996d62d449
|
@ -59,9 +59,9 @@ static int ticks = 10000;
|
|||
|
||||
static struct {
|
||||
struct completion stop;
|
||||
volatile int running;
|
||||
int running;
|
||||
struct timer_list timer;
|
||||
volatile int queue;
|
||||
int queue;
|
||||
int default_ticks;
|
||||
unsigned long inuse;
|
||||
} cpu5wdt_device;
|
||||
|
|
|
@ -59,9 +59,9 @@ static int ticks = 100 * HZ;
|
|||
|
||||
static struct {
|
||||
struct completion stop;
|
||||
volatile int running;
|
||||
int running;
|
||||
struct timer_list timer;
|
||||
volatile int queue;
|
||||
int queue;
|
||||
int default_ticks;
|
||||
unsigned long inuse;
|
||||
unsigned gpio;
|
||||
|
|
Загрузка…
Ссылка в новой задаче