diff options
-rw-r--r-- | drivers/isdn/capi/capiutil.c | 8 | ||||
-rw-r--r-- | include/linux/isdn/capiutil.h | 1 |
2 files changed, 1 insertions, 8 deletions
diff --git a/drivers/isdn/capi/capiutil.c b/drivers/isdn/capi/capiutil.c index ad1e2702c2d1..22379b94e88f 100644 --- a/drivers/isdn/capi/capiutil.c +++ b/drivers/isdn/capi/capiutil.c | |||
@@ -855,7 +855,7 @@ static _cdebbuf *g_debbuf; | |||
855 | static u_long g_debbuf_lock; | 855 | static u_long g_debbuf_lock; |
856 | static _cmsg *g_cmsg; | 856 | static _cmsg *g_cmsg; |
857 | 857 | ||
858 | _cdebbuf *cdebbuf_alloc(void) | 858 | static _cdebbuf *cdebbuf_alloc(void) |
859 | { | 859 | { |
860 | _cdebbuf *cdb; | 860 | _cdebbuf *cdb; |
861 | 861 | ||
@@ -989,11 +989,6 @@ _cdebbuf *capi_cmsg2str(_cmsg * cmsg) | |||
989 | return &g_debbuf; | 989 | return &g_debbuf; |
990 | } | 990 | } |
991 | 991 | ||
992 | _cdebbuf *cdebbuf_alloc(void) | ||
993 | { | ||
994 | return &g_debbuf; | ||
995 | } | ||
996 | |||
997 | void cdebbuf_free(_cdebbuf *cdb) | 992 | void cdebbuf_free(_cdebbuf *cdb) |
998 | { | 993 | { |
999 | } | 994 | } |
@@ -1009,7 +1004,6 @@ void __exit cdebug_exit(void) | |||
1009 | 1004 | ||
1010 | #endif | 1005 | #endif |
1011 | 1006 | ||
1012 | EXPORT_SYMBOL(cdebbuf_alloc); | ||
1013 | EXPORT_SYMBOL(cdebbuf_free); | 1007 | EXPORT_SYMBOL(cdebbuf_free); |
1014 | EXPORT_SYMBOL(capi_cmsg2message); | 1008 | EXPORT_SYMBOL(capi_cmsg2message); |
1015 | EXPORT_SYMBOL(capi_message2cmsg); | 1009 | EXPORT_SYMBOL(capi_message2cmsg); |
diff --git a/include/linux/isdn/capiutil.h b/include/linux/isdn/capiutil.h index 63bd9cf821a7..5a52f2c94f3f 100644 --- a/include/linux/isdn/capiutil.h +++ b/include/linux/isdn/capiutil.h | |||
@@ -187,7 +187,6 @@ typedef struct { | |||
187 | #define CDEBUG_SIZE 1024 | 187 | #define CDEBUG_SIZE 1024 |
188 | #define CDEBUG_GSIZE 4096 | 188 | #define CDEBUG_GSIZE 4096 |
189 | 189 | ||
190 | _cdebbuf *cdebbuf_alloc(void); | ||
191 | void cdebbuf_free(_cdebbuf *cdb); | 190 | void cdebbuf_free(_cdebbuf *cdb); |
192 | int cdebug_init(void); | 191 | int cdebug_init(void); |
193 | void cdebug_exit(void); | 192 | void cdebug_exit(void); |