From 80c1b19913c5dd8690e891f3ac57d239a216b4e7 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Wed, 8 Nov 2017 15:19:42 -0800 Subject: [PATCH] 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 --- core/hdd/inc/wlan_hdd_lro.h | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/core/hdd/inc/wlan_hdd_lro.h b/core/hdd/inc/wlan_hdd_lro.h index 6964eedd51f1..8c3677c58dd0 100644 --- a/core/hdd/inc/wlan_hdd_lro.h +++ b/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) { }