NVMe: Remove dead code in nvme_dev_add
authorKeith Busch <keith.busch@intel.com>
Wed, 1 May 2013 19:07:49 +0000 (13:07 -0600)
committerMatthew Wilcox <matthew.r.wilcox@intel.com>
Thu, 2 May 2013 18:36:45 +0000 (14:36 -0400)
commitcbb6218fd4ae8f98ddf0d66f0826a7a3a9c88298
tree98e8476300d76e97c274307b1534476d9c9e5075
parenta9ef4343afbe67a6abf83c0f0294e80db48e513a
NVMe: Remove dead code in nvme_dev_add

There is no situation that could occur where we could error out of this
function and require cleaning up allocated namespaces.

Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
drivers/block/nvme-core.c