From 84fc80dd668a053c84b1431e5a98995abb0710ea Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Mon, 17 Aug 2020 23:13:57 +0200 Subject: [PATCH] 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 --- .../armv8/base-files/etc/hotplug.d/net/40-net-smp-affinity | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() {