mmc: mmc_test: Uninitialized return value
[firefly-linux-kernel-4.4.55.git] / drivers / mmc / card / mmc_test.c
index 7fc9174d46191a13c77fa4e220bb476a32dfe05e..9a11aaa6e985f46a773853fc79ecf85fddc69f46 100644 (file)
@@ -791,7 +791,7 @@ static int mmc_test_nonblock_transfer(struct mmc_test_card *test,
        struct mmc_async_req *cur_areq = &test_areq[0].areq;
        struct mmc_async_req *other_areq = &test_areq[1].areq;
        int i;
-       int ret;
+       int ret = RESULT_OK;
 
        test_areq[0].test = test;
        test_areq[1].test = test;