• Artem Bityutskiy's avatar
    UBI: fix warnings · ae616e1b
    Artem Bityutskiy authored
    drivers/mtd/ubi/cdev.c: In function ‘vol_cdev_read’:
    drivers/mtd/ubi/cdev.c:187: warning: unused variable ‘vol_id’
    CC [M]  drivers/mtd/ubi/kapi.o
    drivers/mtd/ubi/kapi.c: In function ‘ubi_leb_erase’:
    drivers/mtd/ubi/kapi.c:483: warning: unused variable ‘vol_id’
    drivers/mtd/ubi/kapi.c: In function ‘ubi_leb_unmap’:
    drivers/mtd/ubi/kapi.c:544: warning: unused variable ‘vol_id’
    drivers/mtd/ubi/kapi.c: In function ‘ubi_leb_map’:
    drivers/mtd/ubi/kapi.c:582: warning: unused variable ‘vol_id’
    Signed-off-by: default avatarArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
    ae616e1b
cdev.c 16.5 KB