[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:
parent
fa9363c5f8
commit
996d62d449
2 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue