From a06efaab0eec8d14178cbad20e72d2413b7b5f01 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Wed, 18 Apr 2018 09:43:21 -0700 Subject: [PATCH] qcacld-3.0: Make hdd_display_stats_help() static Currently hdd_display_stats_help() is a public function exported by wlan_hdd_wext.h. But this function is only used internally within wlan_hdd_wext.c, so remove the public prototype and instead make the function static. Change-Id: Iaed10720f0f325794481bbb7ad9f743deb6b7b15 CRs-Fixed: 2227013 --- core/hdd/inc/wlan_hdd_wext.h | 1 - core/hdd/src/wlan_hdd_wext.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/core/hdd/inc/wlan_hdd_wext.h b/core/hdd/inc/wlan_hdd_wext.h index ce3daadbe407..07b6313551d8 100644 --- a/core/hdd/inc/wlan_hdd_wext.h +++ b/core/hdd/inc/wlan_hdd_wext.h @@ -253,7 +253,6 @@ void hdd_unregister_wext(struct net_device *dev); */ void hdd_register_wext(struct net_device *dev); -void hdd_display_stats_help(void); void hdd_wlan_get_version(struct hdd_context *hdd_ctx, union iwreq_data *wrqu, char *extra); diff --git a/core/hdd/src/wlan_hdd_wext.c b/core/hdd/src/wlan_hdd_wext.c index e8cc4c9d53ca..279956afd691 100644 --- a/core/hdd/src/wlan_hdd_wext.c +++ b/core/hdd/src/wlan_hdd_wext.c @@ -3212,7 +3212,7 @@ void hdd_wlan_list_fw_profile(uint16_t *length, * * Return: none */ -void hdd_display_stats_help(void) +static void hdd_display_stats_help(void) { hdd_err("iwpriv wlan0 dumpStats [option] - dump statistics"); hdd_err("iwpriv wlan0 clearStats [option] - clear statistics");