floppy: cleanups: use ST0 as reply_buffer index 0
authorDenis Efremov <efremov@linux.com>
Fri, 16 Apr 2021 08:34:46 +0000 (11:34 +0300)
committerJens Axboe <axboe@kernel.dk>
Tue, 20 Apr 2021 14:59:03 +0000 (08:59 -0600)
commit67c07161c5035a68eccd3922b11cb9839f28c8a3
treeb5fc3fbe54c772166c9667fe442223fcfc1802ca
parentab50200ab04d105017b1bed8787f44b8725cb39a
floppy: cleanups: use ST0 as reply_buffer index 0

Use ST0 as 0 index for reply_buffer array. get_fdc_version() is the only
function that uses index 0 directly instead of the ST0 define.

Signed-off-by: Denis Efremov <efremov@linux.com>
Link: https://lore.kernel.org/r/20210416083449.72700-3-efremov@linux.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/floppy.c