OSDN Git Service

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)
commit665648673ef5384c7194ea6df4b55f2da98646cf
treed206ccd464424dbba73cb62460a00162614be5c2
parentc8e9e9b7646ebe1c5066ddc420d7630876277eb4
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