aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq806x/base-files/lib/upgrade/asrock.sh
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ipq806x/base-files/lib/upgrade/asrock.sh')
-rw-r--r--target/linux/ipq806x/base-files/lib/upgrade/asrock.sh2
1 files changed, 0 insertions, 2 deletions
diff --git a/target/linux/ipq806x/base-files/lib/upgrade/asrock.sh b/target/linux/ipq806x/base-files/lib/upgrade/asrock.sh
index 8be737d2da..9645b64671 100644
--- a/target/linux/ipq806x/base-files/lib/upgrade/asrock.sh
+++ b/target/linux/ipq806x/base-files/lib/upgrade/asrock.sh
@@ -2,8 +2,6 @@
asrock_bootconfig_mangle() {
local mtdnum="$(find_mtd_index 0:bootconfig)"
- # XXX: drop upper case after kernel v5.4 is gone (qcom-smem)
- [ -n "$mtdnum" ] || mtdnum="$(find_mtd_index 0:BOOTCONFIG)"
if [ -z "$mtdnum" ]; then
echo "cannot find bootconfig mtd partition"