block: sed-opal: don't repeat opal_discovery0 in each steps array
authorDavid Kozub <zub@linux.fjfi.cvut.cz>
Thu, 14 Feb 2019 00:16:07 +0000 (01:16 +0100)
committerJens Axboe <axboe@kernel.dk>
Sat, 6 Apr 2019 17:09:13 +0000 (11:09 -0600)
commit0af2648ec30cf811b835f01a8501b4747f3a9022
tree3bbfa9d43af470aac599ae64ac0ff3d4aa7ec719
parent3db87236cfb29f143028b91293a8aee01cf932e7
block: sed-opal: don't repeat opal_discovery0 in each steps array

Originally each of the opal functions that call next include
opal_discovery0 in the array of steps. This is superfluous and
can be done always inside next.

Acked-by: Jon Derrick <jonathan.derrick@intel.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Scott Bauer <sbauer@plzdonthack.me>
Signed-off-by: David Kozub <zub@linux.fjfi.cvut.cz>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/sed-opal.c