NVMe: Don't unmap controller registers on reset
authorKeith Busch <keith.busch@intel.com>
Wed, 24 Feb 2016 16:15:52 +0000 (09:15 -0700)
committerJens Axboe <axboe@fb.com>
Thu, 3 Mar 2016 21:42:49 +0000 (14:42 -0700)
commitb00a726a9fd82ddd4c10344e46f0d371e1674303
treec70b623e3d4a81b2477dc36103a316fef3a1b440
parente827091cb1bcd8e718ac3657845fb809c0b93324
NVMe: Don't unmap controller registers on reset

Unmapping the registers on reset or shutdown is not necessary. Keeping
the mapping simplifies reset handling.

Signed-off-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/nvme/host/pci.c