aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6655/device_main.c
diff options
context:
space:
mode:
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>2022-05-01 22:25:41 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-05-05 23:21:04 +0200
commit60a16985171c4e53e98facf40dfe035f7e34fc83 (patch)
tree6f122fe848aafd90152992d0ebda04930b73f7bf /drivers/staging/vt6655/device_main.c
parentstaging: vt6655: Rename function CARDbGetCurrentTSF (diff)
downloadlinux-dev-60a16985171c4e53e98facf40dfe035f7e34fc83.tar.xz
linux-dev-60a16985171c4e53e98facf40dfe035f7e34fc83.zip
staging: vt6655: Replace unused return value of vt6655_get_current_tsf
Replace unused return value with u64 to increase readability, reduce address and dereference operators and omit pqwCurrTSF that uses CamelCase which is not accepted by checkpatch.pl Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> Link: https://lore.kernel.org/r/62c83d78627196ec0ce2f5a562cb080a1c87a05a.1651435890.git.philipp.g.hortmann@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6655/device_main.c')
-rw-r--r--drivers/staging/vt6655/device_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/vt6655/device_main.c b/drivers/staging/vt6655/device_main.c
index bb8a30eefc74..4f26f5c7e84f 100644
--- a/drivers/staging/vt6655/device_main.c
+++ b/drivers/staging/vt6655/device_main.c
@@ -1603,7 +1603,7 @@ static u64 vnt_get_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif)
struct vnt_private *priv = hw->priv;
u64 tsf;
- vt6655_get_current_tsf(priv, &tsf);
+ tsf = vt6655_get_current_tsf(priv);
return tsf;
}