This patch fixes formatting of s_uGetDataDuration function declaration.
Signed-off-by: Dominik Karol Piątkowski <dominik.karol.piatkowski@protonmail.com>
---
drivers/staging/vt6655/rxtx.c | 24 ++++++++++--------------
1 file changed, 10 insertions(+), 14 deletions(-)
diff --git a/drivers/staging/vt6655/rxtx.c b/drivers/staging/vt6655/rxtx.c
index 5e93ca38008e..4bcc75348284 100644
--- a/drivers/staging/vt6655/rxtx.c
+++ b/drivers/staging/vt6655/rxtx.c
@@ -226,20 +226,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;
--
2.34.1