]> www.infradead.org Git - users/sagi/blktests.git/commitdiff
nvme/rc: remove _filter_discovery
authorShin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Wed, 7 Jun 2023 05:58:55 +0000 (14:58 +0900)
committerShin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Wed, 7 Jun 2023 05:58:55 +0000 (14:58 +0900)
The previous commit removed calls to _filter_discovery(). Remove the
helper function.

Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
tests/nvme/rc

index 3fe14dee2301a84b7a4fb4761f73835d2ec65723..191f3e2e0c43104b4ccaeb06f23f6b400d03cef8 100644 (file)
@@ -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'