aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/net/lib/py/utils.py
diff options
context:
space:
mode:
authorQasim Ijaz <[email protected]>2025-02-13 22:16:22 +0000
committerKeith Busch <[email protected]>2025-03-20 23:53:55 +0000
commit978540050a85a2b7fc77b60a1cfaec110682e9c3 (patch)
tree7e0e5e865774b16e751edcd306be58cbf03cf8a3 /tools/testing/selftests/net/lib/py/utils.py
parentnvme-multipath: Add visibility for queue-depth io-policy (diff)
downloadkernel-978540050a85a2b7fc77b60a1cfaec110682e9c3.tar.gz
kernel-978540050a85a2b7fc77b60a1cfaec110682e9c3.zip
nvme-fc: Utilise min3() to simplify queue count calculation
Refactor nvme_fc_create_io_queues() and nvme_fc_recreate_io_queues() to use the min3() macro to find the minimum between 3 values instead of multiple min()'s. This shortens the code and makes it easier to read. Signed-off-by: Qasim Ijaz <[email protected]> Reviewed-by: James Smart <[email protected]> Signed-off-by: Keith Busch <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions