ath9k: Drop useless const on chanctx_event_delta() return type
authorGeert Uytterhoeven <geert@linux-m68k.org>
Fri, 15 Jan 2016 13:41:30 +0000 (14:41 +0100)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 26 Jan 2016 14:47:38 +0000 (16:47 +0200)
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>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath9k/channel.c

index 0bcb82a..319cb5f 100644 (file)
@@ -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;