OSDN Git Service

scsi: bnx2fc: Make use of the helper macro kthread_run()
authorYin Xiujiang <yinxiujiang@kylinos.cn>
Wed, 26 Jan 2022 01:42:48 +0000 (09:42 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 31 Jan 2022 21:56:57 +0000 (16:56 -0500)
commit687ba48e16e487c9910b20662a29baff98539ec8
treed228310c1ae0299b9d243853f7216ebc2e96332b
parentdd84a4b0fe173c4db2e95cf6a2b74cdce7bbab13
scsi: bnx2fc: Make use of the helper macro kthread_run()

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

Link: https://lore.kernel.org/r/20220126014248.466806-1-yinxiujiang@kylinos.cn
Signed-off-by: Yin Xiujiang <yinxiujiang@kylinos.cn>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/bnx2fc/bnx2fc_fcoe.c