mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-11 22:17:44 -04:00
staging: vt6655: change variable name wTimeStampOff
Remove the use of Hungarian notation, which is not used in the Linux kernel. Signed-off-by: Tanjuate Brunostar <tanjubrunostar0@gmail.com> Link: https://lore.kernel.org/r/Y2DtFRdhCiyNF2kF@elroy-temp-vm.gaiao0uenmiufjlowqgp5yxwdh.gvxx.internal.cloudapp.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
a653e32aad
commit
3b45e2e139
@@ -54,7 +54,7 @@
|
||||
*/
|
||||
#define CRITICAL_PACKET_LEN 256
|
||||
|
||||
static const unsigned short wTimeStampOff[2][MAX_RATE] = {
|
||||
static const unsigned short time_stamp_off[2][MAX_RATE] = {
|
||||
{384, 288, 226, 209, 54, 43, 37, 31, 28, 25, 24, 23}, /* Long Preamble */
|
||||
{384, 192, 130, 113, 54, 43, 37, 31, 28, 25, 24, 23}, /* Short Preamble */
|
||||
};
|
||||
@@ -142,7 +142,7 @@ s_uFillDataHead(
|
||||
|
||||
static __le16 vnt_time_stamp_off(struct vnt_private *priv, u16 rate)
|
||||
{
|
||||
return cpu_to_le16(wTimeStampOff[priv->preamble_type % 2]
|
||||
return cpu_to_le16(time_stamp_off[priv->preamble_type % 2]
|
||||
[rate % MAX_RATE]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user