summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/atmel
diff options
context:
space:
mode:
authorJilin Yuan <yuanjilin@cdjrlc.com>2022-07-09 15:26:37 +0200
committerKalle Valo <kvalo@kernel.org>2022-07-18 14:06:59 +0200
commit15978ea38d79d6c376be672117dfcf646a24d1fe (patch)
tree1825aafc0b8400486eb3d17e790056d24f7e49b8 /drivers/net/wireless/atmel
parentwifi: mac80211: do not abuse fq.lock in ieee80211_do_stop() (diff)
downloadlinux-15978ea38d79d6c376be672117dfcf646a24d1fe.tar.xz
linux-15978ea38d79d6c376be672117dfcf646a24d1fe.zip
wifi: atmel: fix repeated words in comments
Delete the redundant word 'long'. Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/20220709132637.16717-1-yuanjilin@cdjrlc.com
Diffstat (limited to 'drivers/net/wireless/atmel')
-rw-r--r--drivers/net/wireless/atmel/atmel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/atmel/atmel.c b/drivers/net/wireless/atmel/atmel.c
index 35c2e798d98b..0361c8eb2008 100644
--- a/drivers/net/wireless/atmel/atmel.c
+++ b/drivers/net/wireless/atmel/atmel.c
@@ -3353,7 +3353,7 @@ static void atmel_management_frame(struct atmel_private *priv,
priv->beacons_this_sec++;
atmel_smooth_qual(priv);
if (priv->last_beacon_timestamp) {
- /* Note truncate this to 32 bits - kernel can't divide a long long */
+ /* Note truncate this to 32 bits - kernel can't divide a long */
u32 beacon_delay = timestamp - priv->last_beacon_timestamp;
int beacons = beacon_delay / (beacon_interval * 1000);
if (beacons > 1)