diff options
author | Bryan O'Donoghue <bryan.odonoghue@linaro.org> | 2015-08-17 00:55:09 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2015-08-18 09:45:23 -0700 |
commit | 42b9da5efe63e42298094a23edf00d2e0830812c (patch) | |
tree | ac0d62f1ca73e8a91364a628738f7e36da4b7521 | |
parent | 84cfad02b7d9ee0ec910a40aa96850c337a0d745 (diff) |
greybus: loopback: initialized ms_wait negate warning
ms_wait = 0; caught by a compiler warning.
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
-rw-r--r-- | drivers/staging/greybus/loopback.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/greybus/loopback.c b/drivers/staging/greybus/loopback.c index b362635d8a54..ff2e79212877 100644 --- a/drivers/staging/greybus/loopback.c +++ b/drivers/staging/greybus/loopback.c @@ -649,7 +649,7 @@ static void gb_loopback_calculate_stats(struct gb_loopback *gb) static int gb_loopback_fn(void *data) { int error = 0; - int ms_wait; + int ms_wait = 0; int type; u32 size; u32 low_count; |