]> git.baikalelectronics.ru Git - kernel.git/commit
nvme-pci: remove an unneeded variable initialization
authorMinwoo Im <minwoo.im.dev@gmail.com>
Thu, 11 Apr 2019 15:52:39 +0000 (00:52 +0900)
committerChristoph Hellwig <hch@lst.de>
Wed, 1 May 2019 13:17:27 +0000 (09:17 -0400)
commit2d49bc816d2de8f8808d9bb821ddcf232e648418
treed206ccd464424dbba73cb62460a00162614be5c2
parent21577cf1854c27124f57fd2972560abc8756a573
nvme-pci: remove an unneeded variable initialization

Variable "n" will be assigned once kstrtoint() succeeds, otherwise it
will not be referred because kstrtoint() will return an error which
means go out from this function.

Signed-off-by: Minwoo Im <minwoo.im.dev@gmail.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/pci.c