mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-11 17:34:57 +00:00
tegra: sysupgrade: remove check for number of arguments
This chunk got mistakenly removed from30c95c4
, since the get_image_dd evaluates only first agument, so that check is useless. Fixes:30c95c4
("tegra: sysupgrade: use get_image_dd wrapper") Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com>
This commit is contained in:
parent
6a1ad19cd3
commit
16815704fc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user