summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/net/lib/py/utils.py
diff options
context:
space:
mode:
authorMartin George <martinus.gpy@gmail.com>2025-09-22 17:35:32 +0530
committerKeith Busch <kbusch@kernel.org>2025-09-23 15:38:28 -0700
commit80e653fab6676fdcdfe2710cab5fc4312ac47edd (patch)
tree18d60d53f880a7ee8da9ec35075d770ccc5af38b /tools/testing/selftests/net/lib/py/utils.py
parentf7e9a615302fec524445da213745609a06b9914d (diff)
nvme-core: use nvme_is_io_ctrl() for I/O controller check
Replace the current I/O controller check in nvme_init_non_mdts_limits() with the helper nvme_is_io_ctrl() function to maintain consistency with similar checks in other parts of the code and improve code readability. Signed-off-by: Martin George <marting@netapp.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions