Patchwork mtdinfo: remove now unused ubigen info

login
register
mail settings
Submitter Mike Frysinger
Date June 8, 2011, 6:52 p.m.
Message ID <1307559148-28483-1-git-send-email-vapier@gentoo.org>
Download mbox | patch
Permalink /patch/99531/
State Accepted, archived
Headers show

Comments

Mike Frysinger - June 8, 2011, 6:52 p.m.
A previous commit moved the code using this var into a diff func.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
 ubi-utils/src/mtdinfo.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
Artem Bityutskiy - June 9, 2011, 6:19 a.m.
On Wed, 2011-06-08 at 14:52 -0400, Mike Frysinger wrote:
> A previous commit moved the code using this var into a diff func.
> 
> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
> ---
>  ubi-utils/src/mtdinfo.c |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)

Pushed, thanks you!

Patch

diff --git a/ubi-utils/src/mtdinfo.c b/ubi-utils/src/mtdinfo.c
index ca0ad71..38b63ca 100644
--- a/ubi-utils/src/mtdinfo.c
+++ b/ubi-utils/src/mtdinfo.c
@@ -185,7 +185,6 @@  static int print_dev_info(libmtd_t libmtd, const struct mtd_info *mtd_info, int
 {
 	int err;
 	struct mtd_dev_info mtd;
-	struct ubigen_info ui;
 
 	err = mtd_get_dev_info1(libmtd, mtdn, &mtd);
 	if (err) {