From patchwork Mon Nov 5 17:38:36 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [1/2] ubi-test/io_update: ubi_leb_change_start() no longer uses 'dtype'. From: Bill Pringlemeir X-Patchwork-Id: 197265 Message-Id: To: linux-mtd@lists.infradead.org Date: Mon, 5 Nov 2012 12:38:36 -0500 This will not compile for me (due to bit rot?). Maybe the program is never used? Signed-off-by: Bill Pringlemeir --- tests/ubi-tests/io_update.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/ubi-tests/io_update.c b/tests/ubi-tests/io_update.c index e8f0986..ec109e0 100644 --- a/tests/ubi-tests/io_update.c +++ b/tests/ubi-tests/io_update.c @@ -102,8 +102,7 @@ static int test_update1(struct ubi_vol_info *vol_info, int leb_change) test_len = total_len - (rand() % (total_len / 10)); if (leb_change) { - if (ubi_leb_change_start(libubi, fd, 0, test_len, - UBI_SHORTTERM)) { + if (ubi_leb_change_start(libubi, fd, 0, test_len)) { failed("ubi_update_start"); goto close; }