diff options
author | Jan Kiszka <jan.kiszka@web.de> | 2010-02-08 05:12:09 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-16 19:01:19 -0500 |
commit | 88549d6b76346e677da8d2d52b37615df18a4345 (patch) | |
tree | b33b752f2bcfc413383606b444649173443f7dca /drivers/isdn/capi/kcapi.c | |
parent | e11e7ac1ecac6b25439c003c5ca661cd399ec35d (diff) |
CAPI: Reduce chattiness during module loading/removal
The CVS revisions dumped by all CAPI modules are meaningless today. And
that some CAPI module is loaded or removed does not necessarily deserve
a message. Just keep the message of the central module, capi.ko, drop
the rest.
Signed-off-by: Jan Kiszka <jan.kiszka@web.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn/capi/kcapi.c')
-rw-r--r-- | drivers/isdn/capi/kcapi.c | 27 |
1 files changed, 5 insertions, 22 deletions
diff --git a/drivers/isdn/capi/kcapi.c b/drivers/isdn/capi/kcapi.c index b0bacf377c18..ef564ee1c06c 100644 --- a/drivers/isdn/capi/kcapi.c +++ b/drivers/isdn/capi/kcapi.c | |||
@@ -35,10 +35,6 @@ | |||
35 | #endif | 35 | #endif |
36 | #include <linux/mutex.h> | 36 | #include <linux/mutex.h> |
37 | 37 | ||
38 | static char *revision = "$Revision: 1.1.2.8 $"; | ||
39 | |||
40 | /* ------------------------------------------------------------- */ | ||
41 | |||
42 | static int showcapimsgs = 0; | 38 | static int showcapimsgs = 0; |
43 | 39 | ||
44 | MODULE_DESCRIPTION("CAPI4Linux: kernel CAPI layer"); | 40 | MODULE_DESCRIPTION("CAPI4Linux: kernel CAPI layer"); |
@@ -1165,25 +1161,12 @@ EXPORT_SYMBOL(capi20_set_callback); | |||
1165 | 1161 | ||
1166 | static int __init kcapi_init(void) | 1162 | static int __init kcapi_init(void) |
1167 | { | 1163 | { |
1168 | char *p; | 1164 | int err; |
1169 | char rev[32]; | ||
1170 | int ret; | ||
1171 | |||
1172 | ret = cdebug_init(); | ||
1173 | if (ret) | ||
1174 | return ret; | ||
1175 | kcapi_proc_init(); | ||
1176 | 1165 | ||
1177 | if ((p = strchr(revision, ':')) != NULL && p[1]) { | 1166 | err = cdebug_init(); |
1178 | strlcpy(rev, p + 2, sizeof(rev)); | 1167 | if (!err) |
1179 | if ((p = strchr(rev, '$')) != NULL && p > rev) | 1168 | kcapi_proc_init(); |
1180 | *(p-1) = 0; | 1169 | return err; |
1181 | } else | ||
1182 | strcpy(rev, "1.0"); | ||
1183 | |||
1184 | printk(KERN_NOTICE "CAPI Subsystem Rev %s\n", rev); | ||
1185 | |||
1186 | return 0; | ||
1187 | } | 1170 | } |
1188 | 1171 | ||
1189 | static void __exit kcapi_exit(void) | 1172 | static void __exit kcapi_exit(void) |