diff mbox

ath9k: Drop useless const on chanctx_event_delta() return type

Message ID 1452865290-32314-1-git-send-email-geert@linux-m68k.org
State Awaiting Upstream, archived
Delegated to: David Miller
Headers show

Commit Message

Geert Uytterhoeven Jan. 15, 2016, 1:41 p.m. UTC
drivers/net/wireless/ath/ath9k/channel.c:230: warning: type qualifiers ignored on function return type

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
 drivers/net/wireless/ath/ath9k/channel.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Kalle Valo Jan. 28, 2016, 8:24 a.m. UTC | #1
Geert Uytterhoeven <geert@linux-m68k.org> writes:

> drivers/net/wireless/ath/ath9k/channel.c:230: warning: type qualifiers ignored on function return type
>
> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>

Applied to ath.git, thanks.
diff mbox

Patch

diff --git a/drivers/net/wireless/ath/ath9k/channel.c b/drivers/net/wireless/ath/ath9k/channel.c
index 50e614b915f1b1b5..7c452af6da39605a 100644
--- a/drivers/net/wireless/ath/ath9k/channel.c
+++ b/drivers/net/wireless/ath/ath9k/channel.c
@@ -226,7 +226,7 @@  static const char *chanctx_state_string(enum ath_chanctx_state state)
 	}
 }
 
-static const u32 chanctx_event_delta(struct ath_softc *sc)
+static u32 chanctx_event_delta(struct ath_softc *sc)
 {
 	u64 ms;
 	struct timespec ts, *old;