summaryrefslogtreecommitdiff
path: root/target/linux/tegra
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/tegra')
-rw-r--r--target/linux/tegra/base-files/lib/upgrade/platform.sh2
1 files changed, 0 insertions, 2 deletions
diff --git a/target/linux/tegra/base-files/lib/upgrade/platform.sh b/target/linux/tegra/base-files/lib/upgrade/platform.sh
index 3e6ea8a44f..170bc11ba7 100644
--- a/target/linux/tegra/base-files/lib/upgrade/platform.sh
+++ b/target/linux/tegra/base-files/lib/upgrade/platform.sh
@@ -3,8 +3,6 @@ REQUIRE_IMAGE_METADATA=1
platform_check_image() {
local diskdev partdev diff
- [ "$#" -gt 1 ] && return 1
-
export_bootdevice && export_partdevice diskdev 0 || {
v "Unable to determine upgrade device"
return 1