Skip to content

Commit 44a22dc

Browse files
benjaminrshermangregkh
authored andcommitted
staging: vt6656: change alignment to match parenthesis
Change indentation to match parentheses. This complies with the Linux kernel coding style and improves readability. Signed-off-by: Benjamin Sherman <benjamin@bensherman.io> Link: https://lore.kernel.org/r/20190716045754.fivh5n44bybe2uce@valkyrie-mobile.localdomain Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 384329d commit 44a22dc

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎drivers/staging/vt6656/rxtx.c‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -287,12 +287,12 @@ static u16 vnt_rxtx_datahead_g(struct vnt_usb_send_context *tx_context,
287287
buf->duration_a = vnt_get_duration_le(priv,
288288
tx_context->pkt_type, need_ack);
289289
buf->duration_b = vnt_get_duration_le(priv,
290-
PK_TYPE_11B, need_ack);
290+
PK_TYPE_11B, need_ack);
291291
}
292292

293293
buf->time_stamp_off_a = vnt_time_stamp_off(priv, rate);
294294
buf->time_stamp_off_b = vnt_time_stamp_off(priv,
295-
priv->top_cck_basic_rate);
295+
priv->top_cck_basic_rate);
296296

297297
tx_context->tx_hdr_size = vnt_mac_hdr_pos(tx_context, &buf->hdr);
298298

@@ -325,7 +325,7 @@ static u16 vnt_rxtx_datahead_g_fb(struct vnt_usb_send_context *tx_context,
325325

326326
buf->time_stamp_off_a = vnt_time_stamp_off(priv, rate);
327327
buf->time_stamp_off_b = vnt_time_stamp_off(priv,
328-
priv->top_cck_basic_rate);
328+
priv->top_cck_basic_rate);
329329

330330
tx_context->tx_hdr_size = vnt_mac_hdr_pos(tx_context, &buf->hdr);
331331

@@ -655,7 +655,7 @@ static u16 vnt_rxtx_ab(struct vnt_usb_send_context *tx_context,
655655
u8 need_ack = tx_context->need_ack;
656656

657657
buf->rrv_time = vnt_rxtx_rsvtime_le16(priv, tx_context->pkt_type,
658-
frame_len, current_rate, need_ack);
658+
frame_len, current_rate, need_ack);
659659

660660
if (need_mic)
661661
head = &tx_head->tx_ab.tx.mic.head;
@@ -1036,7 +1036,7 @@ static int vnt_beacon_xmit(struct vnt_private *priv, struct sk_buff *skb)
10361036

10371037
/* Get Duration and TimeStampOff */
10381038
short_head->duration = vnt_get_duration_le(priv,
1039-
PK_TYPE_11B, false);
1039+
PK_TYPE_11B, false);
10401040
short_head->time_stamp_off =
10411041
vnt_time_stamp_off(priv, current_rate);
10421042
}

‎drivers/staging/vt6656/usbpipe.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ static void vnt_submit_rx_urb_complete(struct urb *urb)
216216
}
217217

218218
urb->transfer_buffer = skb_put(rcb->skb,
219-
skb_tailroom(rcb->skb));
219+
skb_tailroom(rcb->skb));
220220
}
221221

222222
if (usb_submit_urb(urb, GFP_ATOMIC)) {

0 commit comments

Comments
 (0)