summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnson <jjohnson@codeaurora.org>2016-11-16 16:16:15 -0800
committerqcabuildsw <qcabuildsw@localhost>2016-11-16 19:46:56 -0800
commit2e9eac1a1e24057147804cdb7554f01189fd7e6a (patch)
treedaf7f32d78ae08ccdfce5a5494a6a8640dc73cb8
parent1fa9be0a90e7d1923fd2ba9a221f6a0a21d70629 (diff)
qcacld-3.0: Make hdd_deinit_lro_mgr() static
Change "qcacld-3.0: Add changes for per NAPI or per Rx CE LRO manager" added new functionality, including function hdd_deinit_lro_mgr(). When the driver is built using the -Wmissing-prototypes switch, it fails because this function is defined as global but it doesn't have a public prototype. But in reality this function is only referenced from within the source file where it is implemented, so change it to static. Change-Id: Ief49b8d10d20f740a06c8d6931bfa1274af0fab0 CRs-Fixed: 1079320
-rw-r--r--core/hdd/src/wlan_hdd_lro.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/hdd/src/wlan_hdd_lro.c b/core/hdd/src/wlan_hdd_lro.c
index 586e0b717135..9f9dc5467637 100644
--- a/core/hdd/src/wlan_hdd_lro.c
+++ b/core/hdd/src/wlan_hdd_lro.c
@@ -545,7 +545,7 @@ int hdd_lro_enable(hdd_context_t *hdd_ctx, hdd_adapter_t *adapter)
return 0;
}
-void hdd_deinit_lro_mgr(void *lro_info)
+static void hdd_deinit_lro_mgr(void *lro_info)
{
if (lro_info) {
hdd_err("LRO instance %p is being freed", lro_info);