From: Bryan O'Donoghue Date: Sun, 16 Aug 2015 23:55:09 +0000 (+0100) Subject: greybus: loopback: initialized ms_wait negate warning X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=42b9da5efe63e42298094a23edf00d2e0830812c;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git greybus: loopback: initialized ms_wait negate warning ms_wait = 0; caught by a compiler warning. Signed-off-by: Bryan O'Donoghue Signed-off-by: Greg Kroah-Hartman --- 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;