From: Shin'ichiro Kawasaki Date: Wed, 7 Jun 2023 05:58:55 +0000 (+0900) Subject: nvme/rc: remove _filter_discovery X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=e0a850d17b34cc53434ef48e6ab9c48f33584e9c;p=users%2Fsagi%2Fblktests.git nvme/rc: remove _filter_discovery The previous commit removed calls to _filter_discovery(). Remove the helper function. Signed-off-by: Shin'ichiro Kawasaki --- diff --git a/tests/nvme/rc b/tests/nvme/rc index 3fe14de..191f3e2 100644 --- a/tests/nvme/rc +++ b/tests/nvme/rc @@ -734,12 +734,6 @@ _nvmet_passthru_target_cleanup() { _remove_nvmet_passhtru "${subsys_name}" } -_filter_discovery() { - sed -n -r -e "s/Generation counter [0-9]+/Generation counter X/" \ - -e '/Discovery Log Number|Log Entry|trtype|subnqn/p' - -} - _discovery_genctr() { _nvme_discover "${nvme_trtype}" | sed -n -e 's/^.*Generation counter \([0-9]\+\).*$/\1/p'