Skip to content

Commit ad079f5

Browse files
committed
common/multipath-over-rdma: Simplify is_qinp_def()
No functionality has been changed. Signed-off-by: Bart Van Assche <[email protected]>
1 parent 90b5524 commit ad079f5

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

common/multipath-over-rdma

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -267,9 +267,7 @@ mpath_has_stale_dev() {
267267
# Check whether multipath definition $1 includes the queue_if_no_path keyword.
268268
is_qinp_def() {
269269
case "$1" in
270-
*" 3 queue_if_no_path queue_mode mq "*)
271-
return 0;;
272-
*" 1 queue_if_no_path "*)
270+
*" queue_if_no_path "*)
273271
return 0;;
274272
*)
275273
return 1;;

0 commit comments

Comments
 (0)