• Artem Bityutskiy's avatar
    UBI: remove dead code · 4788b60a
    Artem Bityutskiy authored
    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: default avatarArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
    4788b60a
vtbl.c 24 KB