mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-13 01:08:50 +00:00
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>
This commit is contained in:
parent
22fff826e7
commit
0ac13140d7
@ -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)
|
|||||||
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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user