diff options
author | Matthew Wilcox <matthew.r.wilcox@intel.com> | 2012-07-31 13:31:15 -0400 |
---|---|---|
committer | Matthew Wilcox <matthew.r.wilcox@intel.com> | 2012-07-31 13:31:16 -0400 |
commit | 0ac13140d796eb1e2f8956aea97a6e5e4ebcf981 (patch) | |
tree | 3aa75f45a4baf50471cfdc64ac50892ff340aa69 /drivers/block/nvme.c | |
parent | 22fff826e715e9727d3c7a69f15e602a9801b673 (diff) |
NVMe: Fix whitespace damage in nvme_init
Commit 5c42ea1643 used spaces instead of tabs.
Also remove the unnecessary initialisation of the 'result' variable.
Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
Diffstat (limited to 'drivers/block/nvme.c')
-rw-r--r-- | drivers/block/nvme.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/nvme.c b/drivers/block/nvme.c index 064e86a6bb4e..0ba6b7cb344b 100644 --- a/drivers/block/nvme.c +++ b/drivers/block/nvme.c | |||
@@ -1720,7 +1720,7 @@ static struct pci_driver nvme_driver = { | |||
1720 | 1720 | ||
1721 | static int __init nvme_init(void) | 1721 | static int __init nvme_init(void) |
1722 | { | 1722 | { |
1723 | int result = -EBUSY; | 1723 | int result; |
1724 | 1724 | ||
1725 | nvme_thread = kthread_run(nvme_kthread, NULL, "nvme"); | 1725 | nvme_thread = kthread_run(nvme_kthread, NULL, "nvme"); |
1726 | if (IS_ERR(nvme_thread)) | 1726 | if (IS_ERR(nvme_thread)) |
@@ -1730,7 +1730,7 @@ static int __init nvme_init(void) | |||
1730 | if (result < 0) | 1730 | if (result < 0) |
1731 | goto kill_kthread; | 1731 | goto kill_kthread; |
1732 | else if (result > 0) | 1732 | else if (result > 0) |
1733 | nvme_major = result; | 1733 | nvme_major = result; |
1734 | 1734 | ||
1735 | result = pci_register_driver(&nvme_driver); | 1735 | result = pci_register_driver(&nvme_driver); |
1736 | if (result) | 1736 | if (result) |