Browse Source

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 <[email protected]>
Adrian Schmutzler 5 years ago
parent
commit
84fc80dd66

+ 1 - 1
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() {