Эх сурвалжийг харах

qcacld-3.0: Fix style issues in wlan_hdd_lro.h

The checkpatch script identified multiple Linux coding style issues in
wlan_hdd_lro.h, so fix them.

Change-Id: I1e419f86db33f36c7af4f25b0e61f79a2890d27b
CRs-Fixed: 2141064
Jeff Johnson 7 жил өмнө
parent
commit
80c1b19913

+ 13 - 7
core/hdd/inc/wlan_hdd_lro.h

@@ -48,7 +48,9 @@ enum hdd_lro_rx_status {
 int hdd_lro_init(struct hdd_context *hdd_ctx);
 
 enum hdd_lro_rx_status hdd_lro_rx(struct hdd_context *hdd_ctx,
-	 struct hdd_adapter *adapter, struct sk_buff *skb);
+				  struct hdd_adapter *adapter,
+				  struct sk_buff *skb);
+
 void hdd_lro_display_stats(struct hdd_context *hdd_ctx);
 
 /**
@@ -60,9 +62,11 @@ void hdd_lro_display_stats(struct hdd_context *hdd_ctx);
  * Return: none
  */
 QDF_STATUS hdd_lro_set_reset(struct hdd_context *hdd_ctx,
-					  struct hdd_adapter *adapter,
-					  uint8_t enable_flag);
-void hdd_disable_lro_in_concurrency(bool);
+			     struct hdd_adapter *adapter,
+			     uint8_t enable_flag);
+
+void hdd_disable_lro_in_concurrency(bool disable);
+
 /**
  * hdd_disable_lro_for_low_tput() - enable/disable LRO based on tput
  * hdd_ctx: hdd context
@@ -80,7 +84,8 @@ static inline int hdd_lro_init(struct hdd_context *hdd_ctx)
 }
 
 static inline enum hdd_lro_rx_status hdd_lro_rx(struct hdd_context *hdd_ctx,
-	 struct hdd_adapter *adapter, struct sk_buff *skb)
+						struct hdd_adapter *adapter,
+						struct sk_buff *skb)
 {
 	return HDD_LRO_NO_RX;
 }
@@ -90,11 +95,12 @@ static inline void hdd_lro_display_stats(struct hdd_context *hdd_ctx)
 }
 
 static inline QDF_STATUS hdd_lro_set_reset(struct hdd_context *hdd_ctx,
-					  struct hdd_adapter *adapter,
-					  uint8_t enable_flag)
+					   struct hdd_adapter *adapter,
+					   uint8_t enable_flag)
 {
 	return 0;
 }
+
 static inline void hdd_disable_lro_in_concurrency(bool disable)
 {
 }