summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-08-06 12:28:45 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2013-08-06 12:28:57 +0200
commit68c50d4cabaf2d8fa2fc6d450c36150c8f07998c (patch)
tree9a8cde85de350e5ef4428f3058acef177680fded
parentdf6494123fddfa9540f2e0be7b91faed6bab6c00 (diff)
downloadbarebox-68c50d4cabaf2d8fa2fc6d450c36150c8f07998c.tar.gz
barebox-68c50d4cabaf2d8fa2fc6d450c36150c8f07998c.tar.xz
mtd: ubi: remove calls to nonexisting functions
We do not have ubi_do_get_volume_info and ubi_do_get_device_info and do not need them yet, so remove calls to these functions to fix compilation. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--drivers/mtd/ubi/build.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/mtd/ubi/build.c b/drivers/mtd/ubi/build.c
index c4bffae7f6..202b04602d 100644
--- a/drivers/mtd/ubi/build.c
+++ b/drivers/mtd/ubi/build.c
@@ -75,11 +75,6 @@ struct ubi_device *ubi_devices[UBI_MAX_DEVICES];
*/
int ubi_volume_notify(struct ubi_device *ubi, struct ubi_volume *vol, int ntype)
{
- struct ubi_notification nt;
-
- ubi_do_get_device_info(ubi, &nt.di);
- ubi_do_get_volume_info(ubi, vol, &nt.vi);
-
#ifdef CONFIG_MTD_UBI_FASTMAP
switch (ntype) {
case UBI_VOLUME_ADDED: