mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 04:21:03 -04:00
staging: vt6655: s_uGetDataDuration: Fix declaration formatting
This patch fixes formatting of s_uGetDataDuration function declaration. Signed-off-by: Dominik Karol Piątkowski <dominik.karol.piatkowski@protonmail.com> Link: https://lore.kernel.org/r/20240918191959.51539-15-dominik.karol.piatkowski@protonmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
7e471dddda
commit
302b4a0f5f
@@ -235,20 +235,16 @@ static __le16 get_rtscts_time(struct vnt_private *priv,
|
||||
}
|
||||
|
||||
/* byFreqType 0: 5GHz, 1:2.4Ghz */
|
||||
static
|
||||
unsigned int
|
||||
s_uGetDataDuration(
|
||||
struct vnt_private *priv,
|
||||
unsigned char dur_type,
|
||||
unsigned int frame_length,
|
||||
unsigned char pkt_type,
|
||||
unsigned short rate,
|
||||
bool need_ack,
|
||||
unsigned int frag_idx,
|
||||
unsigned int last_fragment_size,
|
||||
unsigned int mac_frag_num,
|
||||
unsigned char fb_option
|
||||
)
|
||||
static unsigned int s_uGetDataDuration(struct vnt_private *priv,
|
||||
unsigned char dur_type,
|
||||
unsigned int frame_length,
|
||||
unsigned char pkt_type,
|
||||
unsigned short rate,
|
||||
bool need_ack,
|
||||
unsigned int frag_idx,
|
||||
unsigned int last_fragment_size,
|
||||
unsigned int mac_frag_num,
|
||||
unsigned char fb_option)
|
||||
{
|
||||
bool last_frag = false;
|
||||
unsigned int ack_time = 0, next_pkt_time = 0, len;
|
||||
|
||||
Reference in New Issue
Block a user