From: Adrian Schmutzler Date: Mon, 17 Aug 2020 21:13:57 +0000 (+0200) Subject: rockchip: remove useless echo in 40-net-smp-affinity X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=84fc80dd668a053c84b1431e5a98995abb0710ea;p=openwrt%2Fstaging%2Fstintel.git 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 --- 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() {