From 0d0202fd888a0f6e42d14aa903c6d79fc8777125 Mon Sep 17 00:00:00 2001 From: Moritz Muehlenhoff Date: Sun, 21 Jun 2009 22:43:44 +0200 Subject: [PATCH] Staging: wlan-ng: Remove some superflous comments Signed-off-by: Moritz Muehlenhoff Signed-off-by: Greg Kroah-Hartman --- drivers/staging/wlan-ng/hfa384x_usb.c | 3 --- drivers/staging/wlan-ng/p80211netdev.c | 3 --- drivers/staging/wlan-ng/p80211netdev.h | 3 --- drivers/staging/wlan-ng/p80211wep.c | 15 --------------- drivers/staging/wlan-ng/p80211wext.c | 3 --- drivers/staging/wlan-ng/prism2mgmt.c | 3 --- drivers/staging/wlan-ng/prism2sta.c | 3 --- 7 files changed, 33 deletions(-) diff --git a/drivers/staging/wlan-ng/hfa384x_usb.c b/drivers/staging/wlan-ng/hfa384x_usb.c index deb8ba97f854..925678babd9e 100644 --- a/drivers/staging/wlan-ng/hfa384x_usb.c +++ b/drivers/staging/wlan-ng/hfa384x_usb.c @@ -128,9 +128,6 @@ #define SUBMIT_URB(u,f) usb_submit_urb(u,f) -/*================================================================*/ -/* Project Includes */ - #include "p80211types.h" #include "p80211hdr.h" #include "p80211mgmt.h" diff --git a/drivers/staging/wlan-ng/p80211netdev.c b/drivers/staging/wlan-ng/p80211netdev.c index e397b32ece6b..0f030f8a97a3 100644 --- a/drivers/staging/wlan-ng/p80211netdev.c +++ b/drivers/staging/wlan-ng/p80211netdev.c @@ -76,9 +76,6 @@ #include #include -/*================================================================*/ -/* Project Includes */ - #include "p80211types.h" #include "p80211hdr.h" #include "p80211conv.h" diff --git a/drivers/staging/wlan-ng/p80211netdev.h b/drivers/staging/wlan-ng/p80211netdev.h index f4fcd2b11c47..8bd9dfb3b9b4 100644 --- a/drivers/staging/wlan-ng/p80211netdev.h +++ b/drivers/staging/wlan-ng/p80211netdev.h @@ -57,9 +57,6 @@ #include #include -/*================================================================*/ -/* Constants */ - #undef netdevice_t typedef struct net_device netdevice_t; diff --git a/drivers/staging/wlan-ng/p80211wep.c b/drivers/staging/wlan-ng/p80211wep.c index 4fe0773cad4c..ecbb15b297ae 100644 --- a/drivers/staging/wlan-ng/p80211wep.c +++ b/drivers/staging/wlan-ng/p80211wep.c @@ -56,23 +56,14 @@ /* #define WEP_DEBUG */ -/*================================================================*/ -/* Project Includes */ - #include "p80211hdr.h" #include "p80211types.h" #include "p80211msg.h" #include "p80211conv.h" #include "p80211netdev.h" -/*================================================================*/ -/* Local Constants */ - #define WEP_KEY(x) (((x) & 0xC0) >> 6) -/*================================================================*/ -/* Local Static Definitions */ - static const u32 wep_crc32_table[256] = { 0x00000000L, 0x77073096L, 0xee0e612cL, 0x990951baL, 0x076dc419L, 0x706af48fL, 0xe963a535L, 0x9e6495a3L, 0x0edb8832L, 0x79dcb8a4L, @@ -128,12 +119,6 @@ static const u32 wep_crc32_table[256] = { 0x2d02ef8dL }; -/*================================================================*/ -/* Local Function Declarations */ - -/*================================================================*/ -/* Function Definitions */ - /* keylen in bytes! */ int wep_change_key(wlandevice_t *wlandev, int keynum, u8 *key, int keylen) diff --git a/drivers/staging/wlan-ng/p80211wext.c b/drivers/staging/wlan-ng/p80211wext.c index c7c86ea7c4b8..c3b42743df77 100644 --- a/drivers/staging/wlan-ng/p80211wext.c +++ b/drivers/staging/wlan-ng/p80211wext.c @@ -52,9 +52,6 @@ #include #include -/*================================================================*/ -/* Project Includes */ - #include "p80211types.h" #include "p80211hdr.h" #include "p80211conv.h" diff --git a/drivers/staging/wlan-ng/prism2mgmt.c b/drivers/staging/wlan-ng/prism2mgmt.c index 591419069115..9f7d96cae8e3 100644 --- a/drivers/staging/wlan-ng/prism2mgmt.c +++ b/drivers/staging/wlan-ng/prism2mgmt.c @@ -73,9 +73,6 @@ #include #include -/*================================================================*/ -/* Project Includes */ - #include "p80211types.h" #include "p80211hdr.h" #include "p80211mgmt.h" diff --git a/drivers/staging/wlan-ng/prism2sta.c b/drivers/staging/wlan-ng/prism2sta.c index 2df8b7421aed..926db7cdee74 100644 --- a/drivers/staging/wlan-ng/prism2sta.c +++ b/drivers/staging/wlan-ng/prism2sta.c @@ -71,9 +71,6 @@ #include #include -/*================================================================*/ -/* Project Includes */ - #include "p80211types.h" #include "p80211hdr.h" #include "p80211mgmt.h" -- 2.20.1