commit | 4788b60a5faf9f9c9aec10fb7f6b36d9e0f9fa4c | [log] [tgz] |
---|---|---|
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | Fri Jun 03 19:41:00 2011 +0300 |
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | Tue Jun 07 09:15:55 2011 +0300 |
tree | f1c793fad1dd501055ae846960d72924d56c38c3 | |
parent | 2a826061df67f205636b953f58f8bede2a3f009c [diff] |
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>