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 | 29a33c9e0a811c77e96450bcbadb4dfb9b8337a9 (patch) | |
tree | 4ec95bffdfdef26bbe4a1395b5a02181eaa1809a /target/linux/atheros/patches-3.10/130-watchdog.patch | |
parent | cea8debc609595838b813f5174982d3cfc2929ac (diff) | |
download | master-187ad058-29a33c9e0a811c77e96450bcbadb4dfb9b8337a9.tar.gz master-187ad058-29a33c9e0a811c77e96450bcbadb4dfb9b8337a9.tar.bz2 master-187ad058-29a33c9e0a811c77e96450bcbadb4dfb9b8337a9.zip |
atheros: do not initialize statics to 0 or false
as suggested by checkpatch.
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41086 3c298f89-4303-0410-b956-a3cf2f4a3e73
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) |