Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

selftests: libs: Drop slow_path_trap_install()/_uninstall()

These functions are not used anymore.

Signed-off-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Danielle Ratson <danieller@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Petr Machata and committed by
David S. Miller
4e9cd3d0 95d33989

-16
-16
tools/testing/selftests/net/forwarding/lib.sh
··· 1225 1225 tc filter del dev $dev $direction pref 1 flower 1226 1226 } 1227 1227 1228 - slow_path_trap_install() 1229 - { 1230 - # For slow-path testing, we need to install a trap to get to 1231 - # slow path the packets that would otherwise be switched in HW. 1232 - if [ "${tcflags/skip_hw}" != "$tcflags" ]; then 1233 - trap_install "$@" 1234 - fi 1235 - } 1236 - 1237 - slow_path_trap_uninstall() 1238 - { 1239 - if [ "${tcflags/skip_hw}" != "$tcflags" ]; then 1240 - trap_uninstall "$@" 1241 - fi 1242 - } 1243 - 1244 1228 __icmp_capture_add_del() 1245 1229 { 1246 1230 local add_del=$1; shift