aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crypto/tcrypt.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c
index 49e344f00806..7bf93c5decfe 100644
--- a/crypto/tcrypt.c
+++ b/crypto/tcrypt.c
@@ -1113,7 +1113,14 @@ static int __init init(void)
1113 1113
1114 kfree(xbuf); 1114 kfree(xbuf);
1115 kfree(tvmem); 1115 kfree(tvmem);
1116 return 0; 1116
1117 /* We intentionaly return -EAGAIN to prevent keeping
1118 * the module. It does all its work from init()
1119 * and doesn't offer any runtime functionality
1120 * => we don't need it in the memory, do we?
1121 * -- mludvig
1122 */
1123 return -EAGAIN;
1117} 1124}
1118 1125
1119/* 1126/*