diff options
| author | Christoph Hellwig <[email protected]> | 2020-08-20 09:56:58 +0200 |
|---|---|---|
| committer | Christoph Hellwig <[email protected]> | 2020-10-07 07:56:17 +0200 |
| commit | 6fcd669514794da08ce6bfa272b6ec9b33cb543d (patch) | |
| tree | 4c68fb026fc5743d7f22bc8bbc6471eec4b53b7a /drivers/net/wwan/iosm/iosm_ipc_protocol.c | |
| parent | 1401fcc4e3da97c44dcc7cbf538c07e24768d791 (diff) | |
block: optimize blk_queue_zoned_model for !CONFIG_BLK_DEV_ZONED
Always return BLK_ZONED_NONE if zoned device support is not enabled.
This allows various compiler optimizations including the dead code
elimination that we so like for avoiding ifdefs.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Keith Busch <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
Reviewed-by: Chaitanya Kulkarni <[email protected]>
Reviewed-by: Damien Le Moal <[email protected]>
Diffstat (limited to 'drivers/net/wwan/iosm/iosm_ipc_protocol.c')
0 files changed, 0 insertions, 0 deletions