瀏覽代碼

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

Fix Datapath kernel checkpatch warnings in ol_tx_sched.h

Change-Id: I123d2197294be6ae19174a4a40d02dd8047091e1
CRs-Fixed: 2032874
Yun Park 8 年之前
父節點
當前提交
57b82634ee
共有 1 個文件被更改,包括 1 次插入10 次删除
  1. 1 10
      core/dp/txrx/ol_tx_sched.h

+ 1 - 10
core/dp/txrx/ol_tx_sched.h

@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2012-2013, 2016 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2012-2013, 2016-2017 The Linux Foundation. All rights reserved.
  *
  *
  * Previously licensed under the ISC license by Qualcomm Atheros, Inc.
  * Previously licensed under the ISC license by Qualcomm Atheros, Inc.
  *
  *
@@ -89,13 +89,11 @@ ol_tx_sched_notify(
 		struct ol_txrx_pdev_t *pdev,
 		struct ol_txrx_pdev_t *pdev,
 		struct ol_tx_sched_notify_ctx_t *ctx)
 		struct ol_tx_sched_notify_ctx_t *ctx)
 {
 {
-	return;
 }
 }
 
 
 static inline void
 static inline void
 ol_tx_sched(struct ol_txrx_pdev_t *pdev)
 ol_tx_sched(struct ol_txrx_pdev_t *pdev)
 {
 {
-	return;
 }
 }
 
 
 static inline u_int16_t
 static inline u_int16_t
@@ -117,22 +115,18 @@ ol_tx_sched_attach(struct ol_txrx_pdev_t *pdev)
 static inline void
 static inline void
 ol_tx_sched_detach(struct ol_txrx_pdev_t *pdev)
 ol_tx_sched_detach(struct ol_txrx_pdev_t *pdev)
 {
 {
-	return;
 }
 }
 
 
 static inline void ol_tx_sched_stats_display(struct ol_txrx_pdev_t *pdev)
 static inline void ol_tx_sched_stats_display(struct ol_txrx_pdev_t *pdev)
 {
 {
-	return;
 }
 }
 
 
 static inline void ol_tx_sched_cur_state_display(struct ol_txrx_pdev_t *pdev)
 static inline void ol_tx_sched_cur_state_display(struct ol_txrx_pdev_t *pdev)
 {
 {
-	return;
 }
 }
 
 
 static inline void ol_tx_sched_stats_clear(struct ol_txrx_pdev_t *pdev)
 static inline void ol_tx_sched_stats_clear(struct ol_txrx_pdev_t *pdev)
 {
 {
-	return;
 }
 }
 
 
 #endif /* defined(CONFIG_HL_SUPPORT) */
 #endif /* defined(CONFIG_HL_SUPPORT) */
@@ -180,19 +174,16 @@ ol_tx_target_credit_adjust(int factor,
 			   struct ol_txrx_pdev_t *pdev,
 			   struct ol_txrx_pdev_t *pdev,
 			   qdf_nbuf_t msdu)
 			   qdf_nbuf_t msdu)
 {
 {
-	return;
 }
 }
 
 
 static inline void ol_tx_target_credit_decr(struct ol_txrx_pdev_t *pdev,
 static inline void ol_tx_target_credit_decr(struct ol_txrx_pdev_t *pdev,
 					    qdf_nbuf_t msdu)
 					    qdf_nbuf_t msdu)
 {
 {
-	return;
 }
 }
 
 
 static inline void ol_tx_target_credit_incr(struct ol_txrx_pdev_t *pdev,
 static inline void ol_tx_target_credit_incr(struct ol_txrx_pdev_t *pdev,
 					    qdf_nbuf_t msdu)
 					    qdf_nbuf_t msdu)
 {
 {
-	return;
 }
 }
 #endif
 #endif
 #endif /* _OL_TX_SCHED__H_ */
 #endif /* _OL_TX_SCHED__H_ */