]> git.ipfire.org Git - thirdparty/openwrt.git/commit
mediatek: mt7622: drop unused file_type variable 24531/head
authorSemih Baskan <strst.gs@gmail.com>
Mon, 3 Aug 2026 00:38:01 +0000 (03:38 +0300)
committerJonas Jelonek <jelonek.jonas@gmail.com>
Fri, 14 Aug 2026 09:40:48 +0000 (11:40 +0200)
commit8d3e35e7636259151b30473f5f8d2b4c6bba5509
treeb93f81dc5c225f3397c952ce002503f878fd9363
parent758d309f64ae6738b03a049f1b04650e6db25f1b
mediatek: mt7622: drop unused file_type variable

platform_do_upgrade() assigns file_type and never reads it. The call also uses
the argument order from before 715634e6d144, so it returns "unknown" rather than
the real type and would mislead anyone who started using it.

No functional change.

Signed-off-by: Semih Baskan <strst.gs@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/24531
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
target/linux/mediatek/mt7622/base-files/lib/upgrade/platform.sh