OSDN Git Service

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)
commit47b068247aa7d76bb7abea796b72e18a4c6e35c3
tree305840e3c3c876baef62630a89a8ed26beb30a56
parentd1a3f40951bb754054174650ed866fe349517597
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