projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3598cb6
)
wifi: atmel: fix repeated words in comments
author
Jilin Yuan
<yuanjilin@cdjrlc.com>
Sat, 9 Jul 2022 13:26:37 +0000
(21:26 +0800)
committer
Kalle Valo
<kvalo@kernel.org>
Mon, 18 Jul 2022 12:06:59 +0000
(15:06 +0300)
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
drivers/net/wireless/atmel/atmel.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/atmel/atmel.c
b/drivers/net/wireless/atmel/atmel.c
index 35c2e798d98bd14a92c142cbf355a63bcffccfe7..0361c8eb20088fdf389ca4c76682936663715f7a 100644
(file)
--- 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)