]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
Staging: rtl8192e: Remove some redundant comments
authorMike McCormack <mikem@ring3k.org>
Wed, 8 Sep 2010 13:04:57 +0000 (22:04 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 9 Sep 2010 04:21:25 +0000 (21:21 -0700)
Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/rtl8192e/r8192E_core.c
drivers/staging/rtl8192e/r8192E_dm.c

index 9a6dc7361c07b11aa9275813f42e58bff5b81d5b..c408f422babe51b348e224c6fe1bb289dbb6cb67 100644 (file)
@@ -58,9 +58,6 @@
 #include "r819xE_phyreg.h"
 #include "r819xE_cmdpkt.h"
 #include "r8192E_dm.h"
-//#include "r8192xU_phyreg.h"
-//#include <linux/usb.h>
-// FIXME: check if 2.6.7 is ok
 
 #ifdef CONFIG_PM
 #include "r8192_pm.h"
index ee3fc22c0b8ea5be24a911bb6bff06a222ccf048..aa52c6b967c5f88ef6dfc21aa43e0a20e431e4e4 100644 (file)
@@ -21,7 +21,7 @@ Major Change History:
 #include "r8190_rtl8256.h"
 
 #define DRV_NAME "rtl819xE"
-/*---------------------------Define Local Constant---------------------------*/
+
 //
 // Indicate different AP vendor for IOT issue.
 //
@@ -46,19 +46,11 @@ static const u32 edca_setting_UL[HT_IOT_PEER_MAX] =
 
 #define RTK_UL_EDCA 0xa44f
 #define RTK_DL_EDCA 0x5e4322
-/*---------------------------Define Local Constant---------------------------*/
 
 
-/*------------------------Define global variable-----------------------------*/
-// Debug variable ?
 dig_t  dm_digtable;
 // For Dynamic Rx Path Selection by Signal Strength
 DRxPathSel     DM_RxPathSelTable;
-/*------------------------Define global variable-----------------------------*/
-
-
-/*------------------------Define local variable------------------------------*/
-/*------------------------Define local variable------------------------------*/
 
 
 /*--------------------Define export function prototype-----------------------*/
@@ -95,11 +87,6 @@ extern  void    dm_gpio_change_rf_callback(struct work_struct *work);
 #endif
 
 
-
-/*--------------------Define export function prototype-----------------------*/
-
-
-/*---------------------Define local function prototype-----------------------*/
 // DM --> Rate Adaptive
 static void    dm_check_rate_adaptive(struct net_device *dev);
 
@@ -108,20 +95,12 @@ static     void    dm_init_bandwidth_autoswitch(struct net_device *dev);
 static void    dm_bandwidth_autoswitch(        struct net_device *dev);
 
 // DM --> TX power control
-//static       void    dm_initialize_txpower_tracking(struct net_device *dev);
-
 static void    dm_check_txpower_tracking(struct net_device *dev);
 
-
-
-//static       void    dm_txpower_reset_recovery(struct net_device *dev);
-
-
 // DM --> BB init gain restore
 #ifndef RTL8192U
 static void    dm_bb_initialgain_restore(struct net_device *dev);
 
-
 // DM --> BB init gain backup
 static void    dm_bb_initialgain_backup(struct net_device *dev);
 #endif
@@ -143,37 +122,29 @@ static    void    dm_check_edca_turbo(struct net_device *dev);
 // DM --> HW RF control
 static void    dm_check_rfctrl_gpio(struct net_device *dev);
 
-#ifndef RTL8190P
-//static       void    dm_gpio_change_rf(struct net_device *dev);
-#endif
 // DM --> Check PBC
 static void dm_check_pbc_gpio(struct net_device *dev);
 
-
 // DM --> Check current RX RF path state
 static void    dm_check_rx_path_selection(struct net_device *dev);
 static         void dm_init_rxpath_selection(struct net_device *dev);
 static void dm_rxpath_sel_byrssi(struct net_device *dev);
 
-
 // DM --> Fsync for broadcom ap
 static void dm_init_fsync(struct net_device *dev);
 static void dm_deInit_fsync(struct net_device *dev);
 
-//Added by vivi, 20080522
 static void    dm_check_txrateandretrycount(struct net_device *dev);
 
-/*---------------------Define local function prototype-----------------------*/
 
 /*---------------------Define of Tx Power Control For Near/Far Range --------*/   //Add by Jacken 2008/02/18
 static void    dm_init_dynamic_txpower(struct net_device *dev);
 static void    dm_dynamic_txpower(struct net_device *dev);
 
-
 // DM --> For rate adaptive and DIG, we must send RSSI to firmware
 static void dm_send_rssi_tofw(struct net_device *dev);
 static void    dm_ctstoself(struct net_device *dev);
-/*---------------------------Define function prototype------------------------*/
+
 //================================================================================
 //     HW Dynamic mechanism interface.
 //================================================================================