Skip to contentSkip to conversation

configure: drop test for ATM

PATCH Applied Stephen Hemminger 2 participants 2 messages Dec 22, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configure: drop test for ATM

The ATM qdisc was removed by:
commit 8a20feb6388f ("tc: drop support for ATM qdisc") but configure check was not removed.

---
 configure | 23 -----------------------
 1 file changed, 23 deletions(-)
configure +0 -23
index eb689341d17d..488c5f880962 100755
@@ -26,26 +26,6 @@ check_toolchain()
     echo "YACC:=${YACC}" >>$CONFIG
 }
 
-check_atm()
-{
-    cat >$TMPDIR/atmtest.c <<EOF
-#include <atm.h>
-int main(int argc, char **argv) {
-	struct atm_qos qos;
-	(void) text2qos("aal5,ubr:sdu=9180,rx:none",&qos,0);
-	return 0;
-}
-EOF
-
-    if $CC -I$INCLUDE -o $TMPDIR/atmtest $TMPDIR/atmtest.c -latm >/dev/null 2>&1; then
-	echo "TC_CONFIG_ATM:=y" >>$CONFIG
-	echo yes
-    else
-	echo no
-    fi
-    rm -f $TMPDIR/atmtest.c $TMPDIR/atmtest
-}
-
 check_xtables()
 {
 	if ! ${PKG_CONFIG} xtables --exists; then
@@ -616,9 +596,6 @@ check_toolchain
 
 echo "TC schedulers"
 
-echo -n " ATM	"
-check_atm
-
 check_xtables
 if ! grep -q TC_CONFIG_NO_XT $CONFIG; then
 	echo -n " IPT	"
Signature · 1 line
2.43.0
#1 lore raw
This patch was applied to iproute2/iproute2.git (main) by Stephen Hemminger <[email protected]>:

Hello:

This patch was applied to iproute2/iproute2.git (main) by Stephen Hemminger <[email protected]>:

Quoted 8 lines · On Fri, 22 Dec 2023 09:29:06 -0800 you wrote:

The ATM qdisc was removed by:
commit 8a20feb6388f ("tc: drop support for ATM qdisc") but configure check was not removed.

---
 configure | 23 -----------------------
 1 file changed, 23 deletions(-)

Here is the summary with links:
- [iproute] configure: drop test for ATM

    https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=a66a73af6db7

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html