]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
greybus: loopback: initialized ms_wait negate warning
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>
Sun, 16 Aug 2015 23:55:09 +0000 (00:55 +0100)
committerGreg Kroah-Hartman <gregkh@google.com>
Tue, 18 Aug 2015 16:45:23 +0000 (09:45 -0700)
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>
drivers/staging/greybus/loopback.c

index b362635d8a544ce2f3dbce872437c18fae8c3b4b..ff2e79212877c5e9ebeffd89e2bcdc24ad539049 100644 (file)
@@ -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;