summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorStefan Wahren <wahrenst@gmx.net>2024-01-28 23:10:46 +0300
committerDavid S. Miller <davem@davemloft.net>2024-01-31 16:38:50 +0300
commit1a10d67ca426f6f5a76fbb81270d4ad1b44d3950 (patch)
treefbf06fbab712474b27da6c2370edb5608f2f1331 /tools/perf/scripts/python
parentc494a01abe01fcfcbbcd849023ce06a573963aed (diff)
downloadlinux-1a10d67ca426f6f5a76fbb81270d4ad1b44d3950.tar.xz
qca_spi: Improve SPI thread creation
Directly storing the result of kthread_run within the private driver data makes it harder to identify if the pointer has a running thread or not. So better use a local variable for the result check and we don't have to care about error pointer in the rest of the code. Signed-off-by: Stefan Wahren <wahrenst@gmx.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions