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>
This commit is contained in:
parent
df6494123f
commit
68c50d4cab
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue