mvebu: sysupgrade: drop platform_copy_config_sdcard() argument
authorRafał Miłecki <rafal@milecki.pl>
Sun, 14 Jul 2019 20:08:58 +0000 (22:08 +0200)
committerJo-Philipp Wich <jo@mein.io>
Wed, 4 Sep 2019 11:28:58 +0000 (13:28 +0200)
That function doesn't take any arguments so don't pass anything when
calling it.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit 670ce65a44db4263ee21a3fce962c47378ef042b)

target/linux/mvebu/base-files/lib/upgrade/platform.sh

index b86fd1477e41739d827047cc8ca6b718a12c7821..744ed4f132cdcbb57c732ddc1cf730692b367a3e 100755 (executable)
@@ -40,7 +40,7 @@ platform_copy_config() {
                ;;
        cznic,turris-omnia|globalscale,espressobin|globalscale,espressobin-emmc|globalscale,espressobin-v7|globalscale,espressobin-v7-emmc|\
        marvell,armada8040-mcbin|solidrun,clearfog-base-a1|solidrun,clearfog-pro-a1)
-               platform_copy_config_sdcard "$ARGV"
+               platform_copy_config_sdcard
                ;;
        esac
 }