Jelajahi Sumber

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
Jeff Johnson 7 tahun lalu
induk
melakukan
a06efaab0e
2 mengubah file dengan 1 tambahan dan 2 penghapusan
  1. 0 1
      core/hdd/inc/wlan_hdd_wext.h
  2. 1 1
      core/hdd/src/wlan_hdd_wext.c

+ 0 - 1
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);
 

+ 1 - 1
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");