summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/loopback.c
diff options
context:
space:
mode:
authorBryan O'Donoghue2015-08-17 01:55:09 +0200
committerGreg Kroah-Hartman2015-08-18 18:45:23 +0200
commit42b9da5efe63e42298094a23edf00d2e0830812c (patch)
treeac0d62f1ca73e8a91364a628738f7e36da4b7521 /drivers/staging/greybus/loopback.c
parentgreybus: loopback: add bitmask of connections to include in test (diff)
downloadkernel-qcow2-linux-42b9da5efe63e42298094a23edf00d2e0830812c.tar.gz
kernel-qcow2-linux-42b9da5efe63e42298094a23edf00d2e0830812c.tar.xz
kernel-qcow2-linux-42b9da5efe63e42298094a23edf00d2e0830812c.zip
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>
Diffstat (limited to 'drivers/staging/greybus/loopback.c')
-rw-r--r--drivers/staging/greybus/loopback.c2
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;