Commit 38611e5
net: mana: Remove redundant netdev_lock_ops_to_full() calls
NET_SHAPER is always selected for MANA driver. When NET_SHAPER is enabled,
netdev_lock_ops_to_full() reduces effectively to only an assert for lock,
which is always held in the path when NET_SHAPER is enabled.
Remove the redundant netdev_lock_ops_to_full() call.
Signed-off-by: Saurabh Sengar <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>1 parent deb105f commit 38611e5
1 file changed
+0
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2145 | 2145 | | |
2146 | 2146 | | |
2147 | 2147 | | |
2148 | | - | |
2149 | 2148 | | |
2150 | 2149 | | |
2151 | | - | |
2152 | 2150 | | |
2153 | 2151 | | |
2154 | 2152 | | |
| |||
2301 | 2299 | | |
2302 | 2300 | | |
2303 | 2301 | | |
2304 | | - | |
2305 | 2302 | | |
2306 | 2303 | | |
2307 | | - | |
2308 | 2304 | | |
2309 | 2305 | | |
2310 | 2306 | | |
| |||
2340 | 2336 | | |
2341 | 2337 | | |
2342 | 2338 | | |
2343 | | - | |
2344 | 2339 | | |
2345 | 2340 | | |
2346 | | - | |
2347 | 2341 | | |
2348 | 2342 | | |
2349 | 2343 | | |
| |||
2604 | 2598 | | |
2605 | 2599 | | |
2606 | 2600 | | |
2607 | | - | |
2608 | 2601 | | |
2609 | | - | |
2610 | 2602 | | |
2611 | 2603 | | |
2612 | 2604 | | |
2613 | 2605 | | |
2614 | 2606 | | |
2615 | 2607 | | |
2616 | | - | |
2617 | 2608 | | |
2618 | | - | |
2619 | 2609 | | |
2620 | 2610 | | |
2621 | 2611 | | |
| |||
0 commit comments