From 04f966ed3e2952826b0be7cccd7d3e1bf5d320e8 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Mon, 13 Jan 2020 12:36:51 +0100 Subject: [PATCH] tests: all: Remove assignment to promptless NET_GPTP_CLOCK_ACCURACY Assignments have no effect on promptless symbols. Flagged by https://github.com/zephyrproject-rtos/zephyr/pull/20742. Also remove the assignments to the other NET_GPTP_CLOCK_ACCURACY_* symbols. They are all in the same choice (in subsys/net/l2/ethernet/gptp/Kconfig), meaning only one of them can be enabled, and the choice already defaults to NET_GPTP_CLOCK_ACCURACY_UNKNOWN, which is the symbol assigned last. The symbol assigned last becomes the choice selection when multiple symbols in a choice are assigned to. The other choice symbols still become n. Dependencies override assignments. Signed-off-by: Ulf Magnusson --- tests/net/all/prj.conf | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/tests/net/all/prj.conf b/tests/net/all/prj.conf index 99721b4026f..9119c95f60d 100644 --- a/tests/net/all/prj.conf +++ b/tests/net/all/prj.conf @@ -290,26 +290,6 @@ CONFIG_NET_GPTP=y CONFIG_NET_GPTP_STATISTICS=y CONFIG_NET_GPTP_LOG_LEVEL_DBG=y CONFIG_NET_GPTP_ANNOUNCE_RECEIPT_TIMEOUT=10 -CONFIG_NET_GPTP_CLOCK_ACCURACY_100MS=y -CONFIG_NET_GPTP_CLOCK_ACCURACY_100NS=y -CONFIG_NET_GPTP_CLOCK_ACCURACY_100US=y -CONFIG_NET_GPTP_CLOCK_ACCURACY_10MS=y -CONFIG_NET_GPTP_CLOCK_ACCURACY_10S=y -CONFIG_NET_GPTP_CLOCK_ACCURACY_10US=y -CONFIG_NET_GPTP_CLOCK_ACCURACY_1MS=y -CONFIG_NET_GPTP_CLOCK_ACCURACY_1S=y -CONFIG_NET_GPTP_CLOCK_ACCURACY_1US=y -CONFIG_NET_GPTP_CLOCK_ACCURACY_250MS=y -CONFIG_NET_GPTP_CLOCK_ACCURACY_250NS=y -CONFIG_NET_GPTP_CLOCK_ACCURACY_250US=y -CONFIG_NET_GPTP_CLOCK_ACCURACY_2_5MS=y -CONFIG_NET_GPTP_CLOCK_ACCURACY_25MS=y -CONFIG_NET_GPTP_CLOCK_ACCURACY_25NS=y -CONFIG_NET_GPTP_CLOCK_ACCURACY_2_5US=y -CONFIG_NET_GPTP_CLOCK_ACCURACY_25US=y -CONFIG_NET_GPTP_CLOCK_ACCURACY_GT_10S=y -CONFIG_NET_GPTP_CLOCK_ACCURACY=0xfe -CONFIG_NET_GPTP_CLOCK_ACCURACY_UNKNOWN=y CONFIG_NET_GPTP_GM_CAPABLE=y CONFIG_NET_GPTP_INIT_LOG_ANNOUNCE_ITV=2 CONFIG_NET_GPTP_INIT_LOG_PDELAY_REQ_ITV=2