From 805579d6d77a08630f25273274cc50a03c017523 Mon Sep 17 00:00:00 2001 From: Gratian Crisan Date: Wed, 21 Aug 2024 17:13:15 -0500 Subject: [PATCH] ni-utils: remove unused wl12xx workaround The wl12xx WiFi driver is not enabled in our x86_64 configurations. Additionally it is a workaround introduced for AB#735824 and was never revisited in AB#779061. On top of it the assumptions underlying the workaround - that RCU callbacks are processed in softirqs - no longer apply. Remove this dead code. Signed-off-by: Gratian Crisan --- recipes-core/busybox/files/ifplugd.action | 3 --- recipes-ni/ni-utils/files/functions.common | 13 ------------- 2 files changed, 16 deletions(-) diff --git a/recipes-core/busybox/files/ifplugd.action b/recipes-core/busybox/files/ifplugd.action index a192b0b03..bd3211d7a 100755 --- a/recipes-core/busybox/files/ifplugd.action +++ b/recipes-core/busybox/files/ifplugd.action @@ -10,9 +10,6 @@ export INTERFACE=$1 -# If there are drivers that need priorities changed, do it -update_driver_priorities - case "$2" in up) # On link-up, we're not guaranteed to be on the same network as diff --git a/recipes-ni/ni-utils/files/functions.common b/recipes-ni/ni-utils/files/functions.common index aa152cbc5..a127885b3 100644 --- a/recipes-ni/ni-utils/files/functions.common +++ b/recipes-ni/ni-utils/files/functions.common @@ -695,19 +695,6 @@ update_all_interface_info () { done } -update_driver_priorities () { - for d in /proc/irq/*; do - # Adjust wl12xx priority to something - # that allows reclamation of RCU objects - # through ksoftirqd under prolonged heavy - # wireless traffic conditions - if [ -d "$d"/wl12xx ]; then - echo 7 > "$d"/priority - break - fi - done -} - # Usage: enable_net_hotplug # Sets the flag so that enables hotplug.script to run enable_net_hotplug () {