]> 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)
commit9d13e22e8cce853fbb4536a5c60a34b41aa599f7
treed206ccd464424dbba73cb62460a00162614be5c2
parent91977335d731c6d580dc52cfba2394c9296f1ad0
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