Răsfoiți Sursa

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
Jeff Johnson 8 ani în urmă
părinte
comite
4008f34f9f
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      core/hdd/src/wlan_hdd_lro.c

+ 1 - 1
core/hdd/src/wlan_hdd_lro.c

@@ -544,7 +544,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);