]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging: rtl8712: Remove unnecessary externs
authorJoe Perches <joe@perches.com>
Mon, 10 Aug 2015 21:51:31 +0000 (14:51 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 15 Aug 2015 01:51:56 +0000 (18:51 -0700)
Using 'extern' is not necessary for function prototypes.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8712/rtl871x_ioctl.h

index 8e6ef5d49fbf54cb9d3856124b39f88a8d35c851..c9218be5bb4ffe2f2372d7f60f5e92ebcdbcccf4 100644 (file)
@@ -76,22 +76,18 @@ uint oid_null_function(struct oid_par_priv *poid_par_priv);
 
 extern struct iw_handler_def  r871x_handlers_def;
 
-extern uint drv_query_info(
-       struct  net_device *MiniportAdapterContext,
-       uint Oid,
-       void *InformationBuffer,
-       u32 InformationBufferLength,
-       u32 *BytesWritten,
-       u32 *BytesNeeded
-);
+uint drv_query_info(struct net_device *MiniportAdapterContext,
+                   uint Oid,
+                   void *InformationBuffer,
+                   u32 InformationBufferLength,
+                   u32 *BytesWritten,
+                   u32 *BytesNeeded);
 
-extern uint drv_set_info(
-       struct  net_device *MiniportAdapterContext,
-       uint Oid,
-       void *InformationBuffer,
-       u32 InformationBufferLength,
-       u32 *BytesRead,
-       u32 *BytesNeeded
-);
+uint drv_set_info(struct net_device *MiniportAdapterContext,
+                 uint Oid,
+                 void *InformationBuffer,
+                 u32 InformationBufferLength,
+                 u32 *BytesRead,
+                 u32 *BytesNeeded);
 
 #endif