]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
staging: vt6655: remove header declarations for static functions
authorJames A Shackleford <shack@linux.com>
Sat, 21 Jun 2014 03:06:11 +0000 (23:06 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Jun 2014 00:21:51 +0000 (20:21 -0400)
The functions iwctl_giwscan() and iwctl_siwscan() are only referenced
within iwctl.c -- so, remove their function declarations from iwctl.h
and mark these functions as static.

Signed-off-by: James A Shackleford <shack@linux.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6655/iwctl.c
drivers/staging/vt6655/iwctl.h

index ba50d7f9116debb95dbd650d935f12de6c7e9c7a..747d72340db353d24950c4f8981e90fc038750af 100644 (file)
@@ -129,7 +129,7 @@ int iwctl_giwname(struct net_device *dev,
  * Wireless Handler : set scan
  */
 
-int iwctl_siwscan(struct net_device *dev,
+static int iwctl_siwscan(struct net_device *dev,
                  struct iw_request_info *info,
                  struct iw_point *wrq,
                  char *extra)
@@ -190,7 +190,7 @@ int iwctl_siwscan(struct net_device *dev,
  * Wireless Handler : get scan results
  */
 
-int iwctl_giwscan(struct net_device *dev,
+static int iwctl_giwscan(struct net_device *dev,
                  struct iw_request_info *info,
                  struct iw_point *wrq,
                  char *extra)
index 10564b4f6b2d679cc50b6fb63d62e98cbd05b82d..de0a337b543a468672989efa51af7ae8abaf970e 100644 (file)
@@ -161,16 +161,6 @@ int iwctl_giwpower(struct net_device *dev,
                   struct iw_param *wrq,
                   char *extra);
 
-int iwctl_giwscan(struct net_device *dev,
-                 struct iw_request_info *info,
-                 struct iw_point *wrq,
-                 char *extra);
-
-int iwctl_siwscan(struct net_device *dev,
-                 struct iw_request_info *info,
-                 struct iw_point *wrq,
-                 char *extra);
-
 //2008-0409-07, <Add> by Einsn Liu
 #ifdef WPA_SUPPLICANT_DRIVER_WEXT_SUPPORT
 int iwctl_siwauth(struct net_device *dev,