Skip to content

Commit

Permalink
[WATCHDOG] Remove volatiles from watchdog device structures
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Florian Fainelli authored and Wim Van Sebroeck committed Mar 6, 2008
1 parent fa9363c commit 996d62d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions drivers/watchdog/cpu5wdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions drivers/watchdog/mtx-1_wdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 996d62d

Please sign in to comment.