Commit 3de5e46
genirq: Remove cpumask availability check on kthread affinity setting
Failing to allocate the affinity mask of an interrupt descriptor fails the
whole descriptor initialization. It is then guaranteed that the cpumask is
always available whenever the related interrupt objects are alive, such as
the kthread handler.
Therefore remove the superfluous check since it is merely a historical
leftover. Get rid also of the comments above it that are obsolete and
useless.
Suggested-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://patch.msgid.link/20251121143500.42111-4-frederic@kernel.org1 parent 801afdf commit 3de5e46
1 file changed
Lines changed: 4 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1001 | 1001 | | |
1002 | 1002 | | |
1003 | 1003 | | |
1004 | | - | |
1005 | 1004 | | |
1006 | 1005 | | |
1007 | 1006 | | |
| |||
1018 | 1017 | | |
1019 | 1018 | | |
1020 | 1019 | | |
1021 | | - | |
1022 | | - | |
1023 | | - | |
1024 | | - | |
1025 | | - | |
1026 | | - | |
| 1020 | + | |
1027 | 1021 | | |
1028 | | - | |
1029 | | - | |
1030 | | - | |
1031 | | - | |
| 1022 | + | |
| 1023 | + | |
1032 | 1024 | | |
1033 | 1025 | | |
1034 | | - | |
1035 | | - | |
| 1026 | + | |
1036 | 1027 | | |
1037 | 1028 | | |
1038 | 1029 | | |
| |||
0 commit comments