Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
dc5de47c
Commit
dc5de47c
authored
Jul 14, 2011
by
Larry Finger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
staging: rtl8192e: Remove dead code associated with BUILT_IN_CRYPTO
Signed-off-by:
Larry Finger
<
Larry.Finger@lwfinger.net
>
parent
954b609b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
46 deletions
+0
-46
drivers/staging/rtl8192e/internal.h
drivers/staging/rtl8192e/internal.h
+0
-10
drivers/staging/rtl8192e/rtl_core.c
drivers/staging/rtl8192e/rtl_core.c
+0
-26
drivers/staging/rtl8192e/rtl_crypto.h
drivers/staging/rtl8192e/rtl_crypto.h
+0
-10
No files found.
drivers/staging/rtl8192e/internal.h
View file @
dc5de47c
...
...
@@ -23,16 +23,6 @@
#include <linux/sched.h>
#include <asm/kmap_types.h>
#ifdef BUILT_IN_CRYPTO
#ifdef CONFIG_CRYPTO_HMAC
#undef CONFIG_CRYPTO_HMAC
#endif
#ifdef CONFIG_KMOD
#undef CONFIG_KMOD
#endif
#endif
/* BUILT_IN_CRYPTO */
extern
enum
km_type
crypto_km_types
[];
static
inline
enum
km_type
crypto_kmap_type
(
int
out
)
...
...
drivers/staging/rtl8192e/rtl_core.c
View file @
dc5de47c
...
...
@@ -3255,26 +3255,6 @@ static int __init rtl8192_pci_module_init(void)
int
ret
;
int
error
;
#ifdef BUILT_IN_CRYPTO
ret
=
arc4_init
();
if
(
ret
)
{
printk
(
KERN_ERR
"arc4_init() failed %d
\n
"
,
ret
);
return
ret
;
}
ret
=
michael_mic_init
();
if
(
ret
)
{
printk
(
KERN_ERR
"michael_mic_init() failed %d
\n
"
,
ret
);
return
ret
;
}
ret
=
aes_init
();
if
(
ret
)
{
printk
(
KERN_ERR
"aes_init() failed %d
\n
"
,
ret
);
return
ret
;
}
#endif
ret
=
rtllib_init
();
if
(
ret
)
{
printk
(
KERN_ERR
"rtllib_init() failed %d
\n
"
,
ret
);
...
...
@@ -3333,12 +3313,6 @@ static void __exit rtl8192_pci_module_exit(void)
rtllib_crypto_wep_exit
();
rtllib_crypto_deinit
();
rtllib_exit
();
#ifdef BUILT_IN_CRYPTO
arc4_exit
();
michael_mic_exit
();
aes_fini
();
#endif
}
void
check_rfctrl_gpio_timer
(
unsigned
long
data
)
...
...
drivers/staging/rtl8192e/rtl_crypto.h
View file @
dc5de47c
...
...
@@ -24,16 +24,6 @@
#include <asm/page.h>
#include <asm/errno.h>
#ifdef BUILT_IN_CRYPTO
#ifdef CONFIG_CRYPTO_HMAC
#undef CONFIG_CRYPTO_HMAC
#endif
#ifdef CONFIG_KMOD
#undef CONFIG_KMOD
#endif
#endif
/* BUILT_IN_CRYPTO */
#define crypto_register_alg crypto_register_alg_rsl
#define crypto_unregister_alg crypto_unregister_alg_rsl
#define crypto_alloc_tfm crypto_alloc_tfm_rsl
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment