提交 0ac13140 编写于 作者: M Matthew Wilcox

NVMe: Fix whitespace damage in nvme_init

Commit 5c42ea16 used spaces instead of tabs.
Also remove the unnecessary initialisation of the 'result' variable.
Signed-off-by: NMatthew Wilcox <matthew.r.wilcox@intel.com>
上级 22fff826
......@@ -1720,7 +1720,7 @@ static struct pci_driver nvme_driver = {
static int __init nvme_init(void)
{
int result = -EBUSY;
int result;
nvme_thread = kthread_run(nvme_kthread, NULL, "nvme");
if (IS_ERR(nvme_thread))
......@@ -1730,7 +1730,7 @@ static int __init nvme_init(void)
if (result < 0)
goto kill_kthread;
else if (result > 0)
nvme_major = result;
nvme_major = result;
result = pci_register_driver(&nvme_driver);
if (result)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册