staging: wilc1000: remove useless comment
authorChaehyun Lim <chaehyun.lim@gmail.com>
Tue, 22 Sep 2015 13:47:42 +0000 (22:47 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 00:32:36 +0000 (02:32 +0200)
This patch removes useless comment in coreconfigurator.c

Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/coreconfigurator.c
drivers/staging/wilc1000/coreconfigurator.h

index 8b56b92b5503ad7596cedba629ab985b8b16eb63..47a37fa27099044ad3e3d2badc36891d3d95ca28 100644 (file)
@@ -9,26 +9,11 @@
  */
 
 
-/*****************************************************************************/
-/* File Includes                                                             */
-/*****************************************************************************/
 #include "coreconfigurator.h"
 #include <linux/errno.h>
-/*****************************************************************************/
-/* Constants                                                                 */
-/*****************************************************************************/
 #define TAG_PARAM_OFFSET       (MAC_HDR_LEN + TIME_STAMP_LEN + \
                                                        BEACON_INTERVAL_LEN + CAP_INFO_LEN)
 
-/*****************************************************************************/
-/* Function Macros                                                           */
-/*****************************************************************************/
-
-
-/*****************************************************************************/
-/* Type Definitions                                                          */
-/*****************************************************************************/
-
 /* Basic Frame Type Codes (2-bit) */
 typedef enum {
        FRAME_TYPE_CONTROL     = 0x04,
@@ -130,25 +115,6 @@ typedef struct {
        bool bRespRequired;
 } tstrConfigPktInfo;
 
-
-
-/*****************************************************************************/
-/* Extern Variable Declarations                                              */
-/*****************************************************************************/
-
-/*****************************************************************************/
-/* Global Variables                                                          */
-/*****************************************************************************/
-/*****************************************************************************/
-/* Static Function Declarations                                              */
-/*****************************************************************************/
-
-
-
-/*****************************************************************************/
-/* Functions                                                                 */
-/*****************************************************************************/
-
 /* This function extracts the beacon period field from the beacon or probe   */
 /* response frame.                                                           */
 static inline u16 get_beacon_period(u8 *data)
@@ -688,7 +654,6 @@ s32 DeallocateSurveyResults(wid_site_survey_reslts_s *pstrSurveyResults)
 }
 #endif
 
-/*Using the global handle of the driver*/
 extern wilc_wlan_oup_t *gpstrWlanOps;
 /**
  *  @brief              sends certain Configuration Packet based on the input WIDs pstrWIDs
@@ -735,9 +700,6 @@ s32 send_config_pkt(u8 u8Mode, tstrWID *pstrWIDs,
                                break;
                        }
                }
-               /**
-                *      get the value
-                **/
                counter = 0;
                for (counter = 0; counter < u32WIDsCount; counter++) {
                        pstrWIDs[counter].s32ValueSize = gpstrWlanOps->wlan_cfg_get_value(
index 7227c0f2115a910445be6e8be0b4b6c0ec836300..e2b7b0942e50062ba12c1a2c8c1a6e2947aad2a7 100644 (file)
 #define CORECONFIGURATOR_H
 
 #include "wilc_wlan_if.h"
-/*****************************************************************************/
-/* Constants                                                                 */
-/*****************************************************************************/
-/* Number of WID Options Supported */
+
 #define NUM_BASIC_SWITCHES      45
 #define NUM_FHSS_SWITCHES       0
 
 #ifdef MAC_802_11N
 #define NUM_11N_BASIC_SWITCHES  25
 #define NUM_11N_HUT_SWITCHES    47
-#else /* MAC_802_11N */
+#else
 #define NUM_11N_BASIC_SWITCHES  0
 #define NUM_11N_HUT_SWITCHES    0
-#endif /* MAC_802_11N */
+#endif
 
-#define MAC_HDR_LEN             24          /* No Address4 - non-ESS         */
+#define MAC_HDR_LEN             24
 #define MAX_SSID_LEN            33
 #define FCS_LEN                 4
 #define TIME_STAMP_LEN          8
@@ -39,9 +36,7 @@
 #define AID_LEN                 2
 #define IE_HDR_LEN              2
 
-/* Operating Mode: SET */
 #define SET_CFG              0
-/* Operating Mode: GET */
 #define GET_CFG              1
 
 #define MAX_STRING_LEN               256
 #define MAC_CONNECTED                1
 #define MAC_DISCONNECTED             0
 
-/*****************************************************************************/
-/* Function Macros                                                           */
-/*****************************************************************************/
 #define MAKE_WORD16(lsb, msb) ((((u16)(msb) << 8) & 0xFF00) | (lsb))
 #define MAKE_WORD32(lsw, msw) ((((u32)(msw) << 16) & 0xFFFF0000) | (lsw))
 
-/*****************************************************************************/
-/* Type Definitions                                                                                                                       */
-/*****************************************************************************/
-/* Status Codes for Authentication and Association Frames */
 typedef enum {
        SUCCESSFUL_STATUSCODE    = 0,
        UNSPEC_FAIL              = 1,
@@ -95,7 +83,7 @@ typedef struct {
        u8 u8Index;
        s8 as8RSSI[NUM_RSSI];
 } tstrRSSI;
-/* This structure is used to support parsing of the received 'N' message */
+
 typedef struct {
        s8 s8rssi;
        u16 u16CapInfo;
@@ -105,21 +93,20 @@ typedef struct {
        u16 u16BeaconPeriod;
        u8 u8DtimPeriod;
        u8 u8channel;
-       unsigned long u32TimeRcvdInScanCached; /* of type unsigned long to be accepted by the linux kernel macro time_after() */
+       unsigned long u32TimeRcvdInScanCached;
        unsigned long u32TimeRcvdInScan;
        bool bNewNetwork;
 #ifdef AGING_ALG
        u8 u8Found;
 #endif
-       u32 u32Tsf; /* time-stamp [Low only 32 bit] */
+       u32 u32Tsf;
        u8 *pu8IEs;
        u16 u16IEsLen;
        void *pJoinParams;
        tstrRSSI strRssi;
-       u64 u64Tsf; /* time-stamp [Low and High 64 bit] */
+       u64 u64Tsf;
 } tstrNetworkInfo;
 
-/* This structure is used to support parsing of the received Association Response frame */
 typedef struct {
        u16 u16capability;
        u16 u16ConnectStatus;