aboutsummaryrefslogtreecommitdiff
path: root/env
diff options
context:
space:
mode:
authorSean Anderson <seanga2@gmail.com>2023-11-08 12:51:09 -0500
committerTom Rini <trini@konsulko.com>2023-11-16 18:53:09 -0500
commit7667bdeb0e6f63b4df9a253c85ea08d1625d6e63 (patch)
treeea2b393d0ae53afc8f316622f6842c79b7802c12 /env
parentda35ab68de168eb0481a02368559999cfd7882ba (diff)
downloadu-boot-7667bdeb0e6f63b4df9a253c85ea08d1625d6e63.zip
u-boot-7667bdeb0e6f63b4df9a253c85ea08d1625d6e63.tar.gz
u-boot-7667bdeb0e6f63b4df9a253c85ea08d1625d6e63.tar.bz2
fs: ext4: Remove unused parameter from ext4_mount
The part_length parameter is not used. Remove it. Signed-off-by: Sean Anderson <seanga2@gmail.com>
Diffstat (limited to 'env')
-rw-r--r--env/ext4.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/env/ext4.c b/env/ext4.c
index 47e05a4..da26705 100644
--- a/env/ext4.c
+++ b/env/ext4.c
@@ -77,7 +77,7 @@ static int env_ext4_save_buffer(env_t *env_new)
dev = dev_desc->devnum;
ext4fs_set_blk_dev(dev_desc, &info);
- if (!ext4fs_mount(info.size)) {
+ if (!ext4fs_mount()) {
printf("\n** Unable to use %s %s for saveenv **\n",
ifname, dev_and_part);
return 1;
@@ -160,7 +160,7 @@ static int env_ext4_load(void)
dev = dev_desc->devnum;
ext4fs_set_blk_dev(dev_desc, &info);
- if (!ext4fs_mount(info.size)) {
+ if (!ext4fs_mount()) {
printf("\n** Unable to use %s %s for loading the env **\n",
ifname, dev_and_part);
goto err_env_relocate;