[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240918191959.51539-15-dominik.karol.piatkowski@protonmail.com>
Date: Wed, 18 Sep 2024 19:22:02 +0000
From: Dominik Karol Piątkowski <dominik.karol.piatkowski@...tonmail.com>
To: philipp.g.hortmann@...il.com, gregkh@...uxfoundation.org
Cc: linux-staging@...ts.linux.dev, linux-kernel@...r.kernel.org, Dominik Karol Piątkowski <dominik.karol.piatkowski@...tonmail.com>
Subject: [PATCH 14/14] 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@...tonmail.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
Powered by blists - more mailing lists