Parcourir la source

qcacld-3.0: Make hdd_remove_passive_channels static

hdd_remove_passive_channels is not called outside the file.
Make it static.

Change-Id: I17ee9a398b5c88cbaa4677e43bc3a931faf3313d
CRs-Fixed: 1089927
Amar Singhal il y a 8 ans
Parent
commit
25b10f9cb5
1 fichiers modifiés avec 3 ajouts et 2 suppressions
  1. 3 2
      core/hdd/src/wlan_hdd_ext_scan.c

+ 3 - 2
core/hdd/src/wlan_hdd_ext_scan.c

@@ -2472,8 +2472,9 @@ static void hdd_remove_dsrc_channels(struct wiphy *wiphy, uint32_t *chan_list,
  *
  * Return: none
  */
-void hdd_remove_passive_channels(struct wiphy *wiphy, uint32_t *chan_list,
-				 uint8_t *num_channels)
+static void hdd_remove_passive_channels(struct wiphy *wiphy,
+					uint32_t *chan_list,
+					uint8_t *num_channels)
 {
 	uint8_t num_chan_temp = 0;
 	int i, j, k;