summaryrefslogtreecommitdiff
path: root/target/linux/x86/base-files
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-07-14 12:56:58 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-07-14 12:56:58 +0000
commit28a2ad391f7adfb8af6ad0d1cbed639a0dba38ce (patch)
tree1cad1ca02d6110fdb79abc13fc059fcd6cab48b3 /target/linux/x86/base-files
parentbdf9bcdb4945c430a7bf2b1b5ca6ab2e60628ff4 (diff)
kernel/base-files: clean up old code related to refreshing mtd partitions, it is no longer used anywhere
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37282 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/x86/base-files')
-rw-r--r--target/linux/x86/base-files/lib/upgrade/platform.sh6
1 files changed, 0 insertions, 6 deletions
diff --git a/target/linux/x86/base-files/lib/upgrade/platform.sh b/target/linux/x86/base-files/lib/upgrade/platform.sh
index dd94db0694..9503d5db88 100644
--- a/target/linux/x86/base-files/lib/upgrade/platform.sh
+++ b/target/linux/x86/base-files/lib/upgrade/platform.sh
@@ -1,5 +1,3 @@
-USE_REFRESH=1
-
x86_get_rootfs() {
local rootfsdev
local rootfstype
@@ -27,10 +25,6 @@ platform_check_image() {
esac
}
-platform_refresh_partitions() {
- return 0
-}
-
platform_copy_config() {
local rootfs="$(x86_get_rootfs)"
local rootfsdev="${rootfs##*:}"