]> err.no Git - linux-2.6/commit
UBI: fix warnings
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Wed, 16 Jan 2008 10:15:47 +0000 (12:15 +0200)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Fri, 25 Jan 2008 14:41:24 +0000 (16:41 +0200)
commitae616e1be13599c3b64e544ebe99e69ea851e99c
tree02edc84279e332991f75e998255ee563d6579027
parentb9a06623d9d0c6dff758d525ceb0d9e2bba8f7d6
UBI: fix warnings

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: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
drivers/mtd/ubi/cdev.c
drivers/mtd/ubi/kapi.c