From a05149d80e1927201708352c9f81c05df280f6fd Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sun, 17 Oct 2021 16:35:03 +0200 Subject: [PATCH] respondd-module-airtime: move const specifier to the right location GCC was warning that the second const was reduncant. --- net/respondd-module-airtime/src/airtime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/respondd-module-airtime/src/airtime.c b/net/respondd-module-airtime/src/airtime.c index 7f03f1b..9af51ad 100644 --- a/net/respondd-module-airtime/src/airtime.c +++ b/net/respondd-module-airtime/src/airtime.c @@ -57,7 +57,7 @@ * @__NL80211_SURVEY_INFO_AFTER_LAST: internal use */ -static const char const* msg_names[NL80211_SURVEY_INFO_MAX + 1] = { +static const char *const msg_names[NL80211_SURVEY_INFO_MAX + 1] = { [NL80211_SURVEY_INFO_FREQUENCY] = "frequency", [NL80211_SURVEY_INFO_CHANNEL_TIME] = "active", [NL80211_SURVEY_INFO_CHANNEL_TIME_BUSY] = "busy",