linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] [RFC] ubi: Make vid_hdr non-static
@ 2011-12-22 15:12 Richard Weinberger
  2011-12-22 16:06 ` Artem Bityutskiy
  0 siblings, 1 reply; 4+ messages in thread
From: Richard Weinberger @ 2011-12-22 15:12 UTC (permalink / raw)
  To: linux-mtd; +Cc: dedekind1, dwmw2, linux-kernel, tglx, Richard Weinberger

There is no reason to have vid_hdr static.

Signed-off-by: Richard Weinberger <rw@linutronix.de>
---
 drivers/mtd/ubi/vtbl.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mtd/ubi/vtbl.c b/drivers/mtd/ubi/vtbl.c
index 9ad18da..890754c 100644
--- a/drivers/mtd/ubi/vtbl.c
+++ b/drivers/mtd/ubi/vtbl.c
@@ -306,7 +306,7 @@ static int create_vtbl(struct ubi_device *ubi, struct ubi_scan_info *si,
 		       int copy, void *vtbl)
 {
 	int err, tries = 0;
-	static struct ubi_vid_hdr *vid_hdr;
+	struct ubi_vid_hdr *vid_hdr;
 	struct ubi_scan_leb *new_seb;
 
 	ubi_msg("create volume table (copy #%d)", copy + 1);
-- 
1.7.7


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-01-09 15:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-22 15:12 [PATCH] [RFC] ubi: Make vid_hdr non-static Richard Weinberger
2011-12-22 16:06 ` Artem Bityutskiy
2011-12-22 16:05   ` Richard Weinberger
2012-01-09 15:12   ` Artem Bityutskiy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).