diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-06-10 09:05:47 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-06-10 09:05:47 +0000 |
commit | 58d70ff9b3d15880df72e4cb122ba786b9a9cd64 (patch) | |
tree | 5c5f8dfff022c41b91c17d8c96ccc0616e82c007 /target/linux/atheros/patches-3.10/130-watchdog.patch | |
parent | 8b4323ad31f5c4e5aacd1dc4badf0bef0db922ed (diff) | |
download | upstream-58d70ff9b3d15880df72e4cb122ba786b9a9cd64.tar.gz upstream-58d70ff9b3d15880df72e4cb122ba786b9a9cd64.tar.bz2 upstream-58d70ff9b3d15880df72e4cb122ba786b9a9cd64.zip |
atheros: do not initialize statics to 0 or false
as suggested by checkpatch.
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41086
Diffstat (limited to 'target/linux/atheros/patches-3.10/130-watchdog.patch')
-rw-r--r-- | target/linux/atheros/patches-3.10/130-watchdog.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/atheros/patches-3.10/130-watchdog.patch b/target/linux/atheros/patches-3.10/130-watchdog.patch index f98b6b2168..506b5f9561 100644 --- a/target/linux/atheros/patches-3.10/130-watchdog.patch +++ b/target/linux/atheros/patches-3.10/130-watchdog.patch @@ -44,8 +44,8 @@ +#define HEARTBEAT(x) (x < 1 || x > 90 ? 20 : x) + +static int wdt_timeout = 20; -+static int started = 0; -+static int in_use = 0; ++static int started; ++static int in_use; + +static void +ar2315_wdt_enable(void) |