Commit 0ac13140 authored by Matthew Wilcox's avatar 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: default avatarMatthew Wilcox <matthew.r.wilcox@intel.com>
parent 22fff826
...@@ -1720,7 +1720,7 @@ static struct pci_driver nvme_driver = { ...@@ -1720,7 +1720,7 @@ static struct pci_driver nvme_driver = {
static int __init nvme_init(void) static int __init nvme_init(void)
{ {
int result = -EBUSY; int result;
nvme_thread = kthread_run(nvme_kthread, NULL, "nvme"); nvme_thread = kthread_run(nvme_kthread, NULL, "nvme");
if (IS_ERR(nvme_thread)) if (IS_ERR(nvme_thread))
...@@ -1730,7 +1730,7 @@ static int __init nvme_init(void) ...@@ -1730,7 +1730,7 @@ static int __init nvme_init(void)
if (result < 0) if (result < 0)
goto kill_kthread; goto kill_kthread;
else if (result > 0) else if (result > 0)
nvme_major = result; nvme_major = result;
result = pci_register_driver(&nvme_driver); result = pci_register_driver(&nvme_driver);
if (result) if (result)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment