mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -04:00
qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_rx_reorder_timeout.c
Fix Datapath kernel checkpatch warnings in ol_rx_reorder_timeout.c Change-Id: Ia8fc0a14b34876eb648d1c22a0e96e733cc317c4 CRs-Fixed: 2032874
This commit is contained in:
parent
3453282718
commit
42e0bef5fe
1 changed files with 5 additions and 3 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2012-2016 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2012-2017 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
|
||||
*
|
||||
|
|
@ -37,7 +37,7 @@
|
|||
|
||||
#ifdef QCA_SUPPORT_OL_RX_REORDER_TIMEOUT
|
||||
|
||||
void ol_rx_reorder_timeout_remove(struct ol_txrx_peer_t *peer, unsigned tid)
|
||||
void ol_rx_reorder_timeout_remove(struct ol_txrx_peer_t *peer, unsigned int tid)
|
||||
{
|
||||
struct ol_txrx_pdev_t *pdev;
|
||||
struct ol_tx_reorder_cat_timeout_t *rx_reorder_timeout_ac;
|
||||
|
|
@ -140,7 +140,7 @@ static void ol_rx_reorder_timeout(void *arg)
|
|||
TAILQ_FOREACH_SAFE(list_elem,
|
||||
&rx_reorder_timeout_ac->virtual_timer_list,
|
||||
reorder_timeout_list_elem, tmp) {
|
||||
unsigned idx_start, idx_end;
|
||||
unsigned int idx_start, idx_end;
|
||||
struct ol_txrx_peer_t *peer;
|
||||
|
||||
if (list_elem->timestamp_ms > time_now_ms)
|
||||
|
|
@ -174,6 +174,7 @@ void ol_rx_reorder_timeout_init(struct ol_txrx_pdev_t *pdev)
|
|||
for (i = 0; i < QDF_ARRAY_SIZE(pdev->rx.reorder_timeout.access_cats);
|
||||
i++) {
|
||||
struct ol_tx_reorder_cat_timeout_t *rx_reorder_timeout_ac;
|
||||
|
||||
rx_reorder_timeout_ac =
|
||||
&pdev->rx.reorder_timeout.access_cats[i];
|
||||
/* init the per-AC timers */
|
||||
|
|
@ -209,6 +210,7 @@ void ol_rx_reorder_timeout_cleanup(struct ol_txrx_pdev_t *pdev)
|
|||
for (i = 0; i < QDF_ARRAY_SIZE(pdev->rx.reorder_timeout.access_cats);
|
||||
i++) {
|
||||
struct ol_tx_reorder_cat_timeout_t *rx_reorder_timeout_ac;
|
||||
|
||||
rx_reorder_timeout_ac =
|
||||
&pdev->rx.reorder_timeout.access_cats[i];
|
||||
qdf_timer_stop(&rx_reorder_timeout_ac->timer);
|
||||
|
|
|
|||
Loading…
Reference in a new issue