diff options
author | Michael Ellerman <[email protected]> | 2024-02-15 00:14:04 +1100 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2024-02-15 00:14:04 +1100 |
commit | dca79603fbc592ec7ea8bd7ba274052d3984e882 (patch) | |
tree | 3573fae16216f3a93079dee1919fd65409164784 /net/lapb/lapb_out.c | |
parent | 777f81f0a9c780a6443bcf2c7785f0cc2e87c1ef (diff) |
powerpc/smp: Lookup avail once per device tree node
The of_device_is_available() check only needs to be done once per device
node, there's no need to repeat it for each thread. Move it out of the
loop.
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://msgid.link/[email protected]
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions