aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/lib/upgrade
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/files/lib/upgrade')
-rw-r--r--package/base-files/files/lib/upgrade/common.sh4
1 files changed, 0 insertions, 4 deletions
diff --git a/package/base-files/files/lib/upgrade/common.sh b/package/base-files/files/lib/upgrade/common.sh
index c375b70742..2eb26ba44b 100644
--- a/package/base-files/files/lib/upgrade/common.sh
+++ b/package/base-files/files/lib/upgrade/common.sh
@@ -126,10 +126,6 @@ export_bootdevice() {
if read cmdline < /proc/cmdline; then
case "$cmdline" in
- *block2mtd=*)
- bootdisk="${cmdline##*block2mtd=}"
- bootdisk="${bootdisk%%,*}"
- ;;
*root=*)
rootpart="${cmdline##*root=}"
rootpart="${rootpart%% *}"