diff options
author | Christoph Hellwig <hch@lst.de> | 2021-08-27 08:11:12 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2021-09-06 09:59:03 +0200 |
commit | ab7a2737ac5acd7d485ca45d8772497717fbc781 (patch) | |
tree | 0885bee4e8fedcdce6e32d6d3d66c853aa7d8bbd /drivers/regulator/da9062-regulator.c | |
parent | 77d651a65569a5e60f314b768500e94fcb936311 (diff) | |
download | linux-ab7a2737ac5acd7d485ca45d8772497717fbc781.tar.bz2 |
nvmet: return bool from nvmet_passthru_ctrl and nvmet_is_passthru_req
The target core code never needs the host-side nvme_ctrl structure.
Open code two uses of nvmet_is_passthru_req in passthru.c, and then
switch the helpers used by the core to return bool. Also rename the
fuctions to better match their usage:
nvmet_passthru_ctrl -> nvmet_is_passthru_subsys
nvmet_req_passthru_ctrl -> nvmet_is_passthru_req
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Diffstat (limited to 'drivers/regulator/da9062-regulator.c')
0 files changed, 0 insertions, 0 deletions