staging: wilc1000: define wilc_get_stats_async as static
PATCH 1/1 staging: wilc1000: define wilc_get_stats_async as static
Declare wilc_get_stats_async as static since it's only used within the definition file scope.
Signed-off-by Juan Manuel Torres Palma <[email protected]>
--- drivers/staging/wilc1000/host_interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/wilc1000/host_interface.c +1 -1
@@ -1992,7 +1992,7 @@ int wilc_get_rssi(struct wilc_vif *vif, s8 *rssi_level)return result; } -int wilc_get_stats_async (struct wilc_vif *vif,struct rf_info *stats) +static int wilc_get_stats_async (struct wilc_vif *vif,struct rf_info *stats) {int result;struct host_if_msg *msg;
Signature · 1 line
2.20.1
Greg KH
maintainerQuoted 13 lines · Juan Manuel Torres Palma
Declare
wilc_get_stats_asyncas static since it's only used within the definition file scope.Signed-off-by Juan Manuel Torres Palma <[email protected]>--- drivers/staging/wilc1000/host_interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/staging/wilc1000/host_interface.c +0
-0
drivers/staging/wilc1000/host_interface.c int wilc_get_rssi(struct wilc_vif *vif, s8 *rssi_level) · line 1995
Quoted 5 lines
drivers/staging/wilc1000/host_interface.c +1
-1@@ -1992,7 +1992,7 @@ int wilc_get_rssi(struct wilc_vif *vif, s8 *rssi_level)return result; } -int wilc_get_stats_async (struct wilc_vif *vif,struct rf_info *stats) +static int wilc_get_stats_async (struct wilc_vif *vif,struct rf_info *stats)
Someone else sent this same patch a few days before you did, sorry.
greg k-h