From: Larry Finger <Larry.Finger@lwfinger.net>
Date: Thu, 14 Jul 2011 03:07:44 +0000 (-0500)
Subject: staging: rtl8192e: Remove dead code associated with BUILT_IN_MSHCLASS
X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=eae78ca6896715f05e3db2c47f6ac7cec2904f35;p=linux.git

staging: rtl8192e: Remove dead code associated with BUILT_IN_MSHCLASS

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
---

diff --git a/drivers/staging/rtl8192e/rtl_core.c b/drivers/staging/rtl8192e/rtl_core.c
index 93850042514e1..72ec73751cc3c 100644
--- a/drivers/staging/rtl8192e/rtl_core.c
+++ b/drivers/staging/rtl8192e/rtl_core.c
@@ -3302,13 +3302,6 @@ static int __init rtl8192_pci_module_init(void)
 		printk(KERN_ERR "rtllib_crypto_wep_init() failed %d\n", ret);
 		return ret;
 	}
-#ifdef BUILT_IN_MSHCLASS
-	ret = msh_init();
-	if (ret) {
-		printk(KERN_ERR "msh_init() failed %d\n", ret);
-		return ret;
-	}
-#endif
 	printk(KERN_INFO "\nLinux kernel driver for RTL8192E WLAN cards\n");
 	printk(KERN_INFO "Copyright (c) 2007-2008, Realsil Wlan Driver\n");
 
@@ -3347,9 +3340,6 @@ static void __exit rtl8192_pci_module_exit(void)
         michael_mic_exit();
         aes_fini();
 #endif
-#ifdef BUILT_IN_MSHCLASS
-	msh_exit();
-#endif
 
 }