qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_tx_queue.h

Fix Datapath kernel checkpatch warnings in ol_tx_queue.h

Change-Id: I2b44744e7021b877554dd08d9f5a01e611ff457d
CRs-Fixed: 2032874
This commit is contained in:
Yun Park 2017-04-06 22:18:36 -07:00 • committed by snandini
commit d79331a15f

View file

@ -93,14 +93,12 @@ ol_tx_queue_log_enqueue(struct ol_txrx_pdev_t *pdev,
struct ol_txrx_msdu_info_t *msdu_info,
int frms, int bytes)
{
return;
}
static inline void
ol_tx_queue_log_dequeue(struct ol_txrx_pdev_t *pdev,
struct ol_tx_frms_queue_t *txq, int frms, int bytes)
{
return;
}
static inline void
@ -108,7 +106,6 @@ ol_tx_queue_log_free(struct ol_txrx_pdev_t *pdev,
struct ol_tx_frms_queue_t *txq,
int tid, int frms, int bytes, bool is_peer_txq)
{
return;
}
#endif
@ -151,7 +148,7 @@ ol_tx_enqueue(
* output: how much credit the dequeued frames consume
* @param[out] bytes - the sum of the sizes of the dequeued frames
* @return number of frames dequeued
*/
*/
u_int16_t
ol_tx_dequeue(
struct ol_txrx_pdev_t *pdev,
@ -189,7 +186,8 @@ ol_tx_queue_free(
*
* @param pdev - the physical device object, which stores the txqs
* @param flush_all - flush all pending tx queues if set to true
* @param tx_descs - List Of tx_descs to be discarded will be returned by this function
* @param tx_descs - List Of tx_descs to be discarded will be returned by this
* function
*/
void
@ -207,7 +205,6 @@ ol_tx_enqueue(
struct ol_tx_desc_t *tx_desc,
struct ol_txrx_msdu_info_t *tx_msdu_info)
{
return;
}
static inline u_int16_t
@ -228,7 +225,6 @@ ol_tx_queue_free(
struct ol_tx_frms_queue_t *txq,
int tid, bool is_peer_txq)
{
return;
}
static inline void
@ -237,7 +233,6 @@ ol_tx_queue_discard(
bool flush_all,
ol_tx_desc_list *tx_descs)
{
return;
}
#endif /* defined(CONFIG_HL_SUPPORT) */
@ -344,24 +339,20 @@ static inline void ol_txrx_peer_bal_add_limit_peer(
u_int16_t peer_id,
u_int16_t peer_limit)
{
return;
}
static inline void ol_txrx_peer_bal_remove_limit_peer(
struct ol_txrx_pdev_t *pdev,
u_int16_t peer_id)
{
return;
}
static inline void ol_txrx_peer_pause_but_no_mgmt_q(ol_txrx_peer_handle peer)
{
return;
}
static inline void ol_txrx_peer_unpause_but_no_mgmt_q(ol_txrx_peer_handle peer)
{
return;
}
static inline u_int16_t
@ -379,7 +370,6 @@ ol_tx_bad_peer_update_tx_limit(struct ol_txrx_pdev_t *pdev,
u_int16_t frames,
u_int16_t tx_limit_flag)
{
return;
}
static inline void
@ -387,17 +377,14 @@ ol_txrx_set_txq_peer(
struct ol_tx_frms_queue_t *txq,
struct ol_txrx_peer_t *peer)
{
return;
}
static inline void ol_tx_badpeer_flow_cl_init(struct ol_txrx_pdev_t *pdev)
{
return;
}
static inline void ol_tx_badpeer_flow_cl_deinit(struct ol_txrx_pdev_t *pdev)
{
return;
}
#endif /* defined(CONFIG_HL_SUPPORT) && defined(QCA_BAD_PEER_TX_FLOW_CL) */
@ -427,7 +414,6 @@ ol_tx_queue_log_sched(struct ol_txrx_pdev_t *pdev,
int *num_active_tids,
uint32_t **active_bitmap, uint8_t **data)
{
return;
}
#endif /* defined(CONFIG_HL_SUPPORT) && defined(DEBUG_HL_LOGGING) */
@ -444,7 +430,6 @@ ol_tx_queues_display(struct ol_txrx_pdev_t *pdev);
static inline void
ol_tx_queues_display(struct ol_txrx_pdev_t *pdev)
{
return;
}
#endif
@ -571,7 +556,6 @@ static inline void ol_tx_txq_group_credit_update(
int32_t credit,
u_int8_t absolute)
{
return;
}
static inline void
@ -579,7 +563,6 @@ ol_tx_txq_set_group_ptr(
struct ol_tx_frms_queue_t *txq,
struct ol_tx_queue_group_t *grp_ptr)
{
return;
}
static inline void
@ -589,7 +572,6 @@ ol_tx_set_peer_group_ptr(
u_int8_t vdev_id,
u_int8_t tid)
{
return;
}
#endif