aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-08-17 23:13:57 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-08-17 23:13:57 +0200
commit84fc80dd668a053c84b1431e5a98995abb0710ea (patch)
tree39faca4abe26d61a1f0909c7878461e959b5433f /target
parent1a75443964558e67a29fac28ded9a15dbb715034 (diff)
downloadupstream-84fc80dd668a053c84b1431e5a98995abb0710ea.tar.gz
upstream-84fc80dd668a053c84b1431e5a98995abb0710ea.tar.bz2
upstream-84fc80dd668a053c84b1431e5a98995abb0710ea.zip
rockchip: remove useless echo in 40-net-smp-affinity
The command in the $() brackets will already provide the same output. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target')
-rw-r--r--target/linux/rockchip/armv8/base-files/etc/hotplug.d/net/40-net-smp-affinity2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/rockchip/armv8/base-files/etc/hotplug.d/net/40-net-smp-affinity b/target/linux/rockchip/armv8/base-files/etc/hotplug.d/net/40-net-smp-affinity
index ab3f954654..44716258bf 100644
--- a/target/linux/rockchip/armv8/base-files/etc/hotplug.d/net/40-net-smp-affinity
+++ b/target/linux/rockchip/armv8/base-files/etc/hotplug.d/net/40-net-smp-affinity
@@ -6,7 +6,7 @@ get_device_irq() {
local device="$1"
local line=$(grep -m 1 "${device}\$" /proc/interrupts)
- echo $(echo ${line} | sed 's/:.*//')
+ echo ${line} | sed 's/:.*//'
}
set_interface_core() {