Commit bae2da8
committed
net: remove netif_set_real_num_rx_queues() helper for when SYSFS=n
Since commit a953be5 ("net-sysfs: add support for device-specific
rx queue sysfs attributes"), so for at least a decade now it is safe
to call net_rx_queue_update_kobjects() when SYSFS=n. That function
does its own ifdef-inery and will return 0. Remove the unnecessary
stub for netif_set_real_num_rx_queues().
Acked-by: Stanislav Fomichev <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>1 parent ba6f418 commit bae2da8
2 files changed
+0
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4062 | 4062 | | |
4063 | 4063 | | |
4064 | 4064 | | |
4065 | | - | |
4066 | | - | |
4067 | 4065 | | |
4068 | | - | |
4069 | | - | |
4070 | | - | |
4071 | | - | |
4072 | | - | |
4073 | | - | |
4074 | | - | |
4075 | | - | |
4076 | 4066 | | |
4077 | 4067 | | |
4078 | 4068 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3160 | 3160 | | |
3161 | 3161 | | |
3162 | 3162 | | |
3163 | | - | |
3164 | 3163 | | |
3165 | 3164 | | |
3166 | 3165 | | |
| |||
3191 | 3190 | | |
3192 | 3191 | | |
3193 | 3192 | | |
3194 | | - | |
3195 | 3193 | | |
3196 | 3194 | | |
3197 | 3195 | | |
| |||
0 commit comments