aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/octeon/base-files/lib
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/octeon/base-files/lib')
-rwxr-xr-xtarget/linux/octeon/base-files/lib/upgrade/platform.sh4
1 files changed, 0 insertions, 4 deletions
diff --git a/target/linux/octeon/base-files/lib/upgrade/platform.sh b/target/linux/octeon/base-files/lib/upgrade/platform.sh
index d938950906..33a9931263 100755
--- a/target/linux/octeon/base-files/lib/upgrade/platform.sh
+++ b/target/linux/octeon/base-files/lib/upgrade/platform.sh
@@ -7,10 +7,6 @@ platform_get_rootfs() {
if read cmdline < /proc/cmdline; then
case "$cmdline" in
- *block2mtd=*)
- rootfsdev="${cmdline##*block2mtd=}"
- rootfsdev="${rootfsdev%%,*}"
- ;;
*root=*)
rootfsdev="${cmdline##*root=}"
rootfsdev="${rootfsdev%% *}"