ipq806x: remove transition workarounds for qcom-smem partitions
[openwrt/openwrt.git] / target / linux / ipq806x / base-files / lib / upgrade / asrock.sh
index 8be737d2dad915bb5b1f5502de6e05b9fb5b91e8..9645b646710718c51bc14f586ad99dd359420bb2 100644 (file)
@@ -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"