projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22fff82
)
NVMe: Fix whitespace damage in nvme_init
author
Matthew Wilcox
<matthew.r.wilcox@intel.com>
Tue, 31 Jul 2012 17:31:15 +0000
(13:31 -0400)
committer
Matthew Wilcox
<matthew.r.wilcox@intel.com>
Tue, 31 Jul 2012 17:31:16 +0000
(13:31 -0400)
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>
drivers/block/nvme.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/block/nvme.c
b/drivers/block/nvme.c
index 064e86a6bb4e429a2d0c0804155a38a9678f5c22..0ba6b7cb344bc19b39f8603af66cf781acac6b69 100644
(file)
--- a/
drivers/block/nvme.c
+++ b/
drivers/block/nvme.c
@@
-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)