Skip to content

Commit

Permalink
ni-utils: remove unused wl12xx workaround
Browse files Browse the repository at this point in the history
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 <gratian.crisan@ni.com>
  • Loading branch information
gratian authored and chaitu236 committed Aug 26, 2024
1 parent 4588ac7 commit 805579d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
3 changes: 0 additions & 3 deletions recipes-core/busybox/files/ifplugd.action
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
13 changes: 0 additions & 13 deletions recipes-ni/ni-utils/files/functions.common
Original file line number Diff line number Diff line change
Expand Up @@ -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 () {
Expand Down

0 comments on commit 805579d

Please sign in to comment.