Niklas Cassel 75d46c6d15 scsi: scsi_debug: Remove superfluous close zone in resp_open_zone()
resp_open_zone() always calls zbc_open_zone() with parameter explicit set
to true.

If zbc_open_zone() is called with parameter explicit set to true, and the
current zone state is implicit open, it will call zbc_close_zone() on the
zone before proceeding.

Therefore, there is no need for resp_open_zone() to call zbc_close_zone()
on an implicitly open zone before calling zbc_open_zone().

Remove superfluous close zone in resp_open_zone().

Link: https://lore.kernel.org/r/20200821130007.39938-1-niklas.cassel@wdc.com
Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Niklas Cassel <niklas.cassel@wdc.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2020-08-24 23:02:18 -04:00
..
2020-08-07 18:48:15 -07:00
2020-08-06 16:50:07 -07:00
2019-11-07 06:43:18 -07:00
2020-03-11 23:07:59 -04:00
2020-08-06 16:50:07 -07:00
2020-06-15 23:28:04 -04:00
2020-08-06 16:50:07 -07:00
2020-08-14 16:01:59 -07:00
2020-08-14 16:01:59 -07:00
2020-08-06 16:50:07 -07:00
2020-08-06 16:50:07 -07:00
2020-08-06 16:50:07 -07:00
2020-08-06 16:50:07 -07:00
2020-08-07 18:48:15 -07:00
2019-03-02 11:39:54 -08:00
2019-11-12 22:21:35 -05:00
2020-02-24 14:54:25 -05:00
2020-03-11 23:07:59 -04:00
2020-04-14 21:32:39 -04:00
2019-01-08 21:58:35 -05:00
2019-07-11 15:14:01 -07:00
2020-07-28 22:34:52 -04:00
2020-07-24 22:09:55 -04:00
2020-08-06 16:50:07 -07:00
2018-11-06 21:31:28 -05:00
2020-07-24 22:09:55 -04:00
2019-07-11 15:14:01 -07:00
2019-07-11 15:17:41 -07:00
2020-07-24 22:09:55 -04:00
2020-08-06 16:50:07 -07:00
2020-06-19 23:06:43 -04:00
2019-07-11 15:14:01 -07:00
2020-08-06 16:50:07 -07:00
2020-06-19 23:06:43 -04:00
2020-08-14 16:01:59 -07:00
2020-08-04 20:56:56 -04:00
2020-08-04 20:56:56 -04:00
2019-07-11 15:14:01 -07:00
2020-06-13 13:17:49 -07:00
2020-02-24 15:01:57 -05:00
2020-08-06 16:50:07 -07:00
2020-08-11 14:34:17 -07:00
2019-07-11 15:14:01 -07:00