lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Tue, 22 Sep 2009 20:34:24 +0530
From:	Jaswinder Singh Rajput <jaswinder@...nel.org>
To:	Greg Kroah-Hartman <gregkh@...e.de>,
	Anthony Wong <awong1@...ell.com>,
	Staging <devel@...verdev.osuosl.org>,
	LKML <linux-kernel@...r.kernel.org>
Subject: [PATCH] STAGING: Remove dead code rtl8192e, ieee80211_crypt_wep.c


Remove dead code from drivers/staging/rtl8192e/ieee80211/ieee80211_crypt_wep.c

This also fixed following 'make includecheck' warnings:

  drivers/staging/rtl8192e/ieee80211/ieee80211_crypt_wep.c: rtl_crypto.h is included more than once.
  drivers/staging/rtl8192e/ieee80211/ieee80211_crypt_wep.c: linux/crypto.h is included more than once.
  drivers/staging/rtl8192e/ieee80211/ieee80211_crypt_wep.c: asm/scatterlist.h is included more than once.
  drivers/staging/rtl8192e/ieee80211/ieee80211_crypt_wep.c: linux/crc32.h is included more than once.

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@...il.com>
---
 .../rtl8192e/ieee80211/ieee80211_crypt_wep.c       |   17 -----------------
 1 files changed, 0 insertions(+), 17 deletions(-)

diff --git a/drivers/staging/rtl8192e/ieee80211/ieee80211_crypt_wep.c b/drivers/staging/rtl8192e/ieee80211/ieee80211_crypt_wep.c
index 5678313..5289c27 100644
--- a/drivers/staging/rtl8192e/ieee80211/ieee80211_crypt_wep.c
+++ b/drivers/staging/rtl8192e/ieee80211/ieee80211_crypt_wep.c
@@ -9,7 +9,6 @@
  * more details.
  */
 
-//#include <linux/config.h>
 #include <linux/version.h>
 #include <linux/module.h>
 #include <linux/init.h>
@@ -32,19 +31,8 @@
 #else
     #include <linux/scatterlist.h>
 #endif
-//#include <asm/scatterlist.h>
 #include <linux/crc32.h>
-//
-/*
-#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0))
-#include "rtl_crypto.h"
-#else
-#include <linux/crypto.h>
-#endif
 
-#include <asm/scatterlist.h>
-#include <linux/crc32.h>
-*/
 MODULE_AUTHOR("Jouni Malinen");
 MODULE_DESCRIPTION("Host AP crypt: WEP");
 MODULE_LICENSE("GPL");
@@ -380,14 +368,9 @@ void __exit ieee80211_crypto_wep_exit(void)
 
 void ieee80211_wep_null(void)
 {
-//	printk("============>%s()\n", __FUNCTION__);
         return;
 }
 #if (LINUX_VERSION_CODE > KERNEL_VERSION(2,5,0))
-//EXPORT_SYMBOL(ieee80211_wep_null);
 #else
 EXPORT_SYMBOL_NOVERS(ieee80211_wep_null);
 #endif
-
-//module_init(ieee80211_crypto_wep_init);
-//module_exit(ieee80211_crypto_wep_exit);
-- 
1.6.0.6


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ