chore: remove dead irqbalance functions
The shell functions in profiles/functions related to irqbalance configuration
have been unused since 462df2610c. Remove them.
Signed-off-by: Adriaan Schmidt <adriaan.schmidt@siemens.com>
This commit is contained in:
parent
7825b11330
commit
71d1597b97
1 changed files with 0 additions and 15 deletions
15
functions
15
functions
|
|
@ -476,21 +476,6 @@ restore_logs_syncing() {
|
|||
mv -Z $RSYSLOG_SAVE $RSYSLOG_CFG || mv $RSYSLOG_SAVE $RSYSLOG_CFG
|
||||
}
|
||||
|
||||
irqbalance_banned_cpus_clear() {
|
||||
sed -i '/^IRQBALANCE_BANNED_CPUS=/d' /etc/sysconfig/irqbalance || return
|
||||
if [ ${1:-restart} = restart ]; then
|
||||
systemctl try-restart irqbalance
|
||||
fi
|
||||
}
|
||||
|
||||
irqbalance_banned_cpus_setup() {
|
||||
irqbalance_banned_cpus_clear norestart
|
||||
if [ -n "$1" ]; then
|
||||
echo "IRQBALANCE_BANNED_CPUS=$1" >> /etc/sysconfig/irqbalance
|
||||
fi
|
||||
systemctl try-restart irqbalance
|
||||
}
|
||||
|
||||
#
|
||||
# HARDWARE SPECIFIC tuning
|
||||
#
|
||||
|
|
|
|||
Loading…
Reference in a new issue