Skip to content

Commit

Permalink
NVMe: Fix whitespace damage in nvme_init
Browse files Browse the repository at this point in the history
Commit 5c42ea1 used spaces instead of tabs.
Also remove the unnecessary initialisation of the 'result' variable.

Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
  • Loading branch information
Matthew Wilcox committed Jul 31, 2012
1 parent 22fff82 commit 0ac1314
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/block/nvme.c
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand All @@ -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)
Expand Down

0 comments on commit 0ac1314

Please sign in to comment.