]> asedeno.scripts.mit.edu Git - linux.git/commit
lightnvm: remove chnl_offset in nvme_nvm_identity
authorMatias Bjørling <mb@lightnvm.io>
Thu, 29 Mar 2018 22:04:49 +0000 (00:04 +0200)
committerJens Axboe <axboe@kernel.dk>
Thu, 29 Mar 2018 23:29:09 +0000 (17:29 -0600)
commit8f37d1913f096b530242f7815ac0be3c20888ef9
tree5ca905273c9293f37ea10ca8565cabf1f2353e77
parent5da84cf6037690835c7b1ea91b4158ed768df712
lightnvm: remove chnl_offset in nvme_nvm_identity

The identity structure is initialized to zero in the beginning of
the nvme_nvm_identity function. The chnl_offset is separately set to
zero. Since both the variable and assignment is never changed, remove
them.

Signed-off-by: Matias Bjørling <mb@lightnvm.io>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/lightnvm.c