UBI: remove dead code
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Fri, 3 Jun 2011 16:41:00 +0000 (19:41 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Tue, 7 Jun 2011 06:15:55 +0000 (09:15 +0300)
commit4788b60a5faf9f9c9aec10fb7f6b36d9e0f9fa4c
treef1c793fad1dd501055ae846960d72924d56c38c3
parent2a826061df67f205636b953f58f8bede2a3f009c
UBI: remove dead code

Thanks to new gcc 4.6 for issuing the following warning:

drivers/mtd/ubi/vtbl.c: In function ‘create_vtbl’:
drivers/mtd/ubi/vtbl.c:311:33: warning: variable ‘old_seb’ set but not used [-Wunused-but-set-variable]

This patch removes some dead code and fixes the warning.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
drivers/mtd/ubi/vtbl.c