]> git.baikalelectronics.ru Git - kernel.git/commit
net: liquidio: Make use of the helper macro kthread_run()
authorCai Huoqing <caihuoqing@baidu.com>
Thu, 21 Oct 2021 08:41:58 +0000 (16:41 +0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 22 Oct 2021 18:10:10 +0000 (11:10 -0700)
commit6354fb5cae39308bb59a3c2c11b17b5d13144f43
tree305840e3c3c876baef62630a89a8ed26beb30a56
parentc25e57b4910b64a653bf870a8632fa973ee23f94
net: liquidio: Make use of the helper macro kthread_run()

Repalce kthread_create/wake_up_process() with kthread_run()
to simplify the code.

Signed-off-by: Cai Huoqing <caihuoqing@baidu.com>
Link: https://lore.kernel.org/r/20211021084158.2183-1-caihuoqing@baidu.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/cavium/liquidio/lio_main.c