Commit 3a3a51d1 authored by Adrian Bunk's avatar Adrian Bunk Committed by Linus Torvalds

make drivers/isdn/capi/capiutil.c:cdebbuf_alloc() static

Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Acked-by: default avatarKarsten Keil <kkeil@suse.de>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 1a1c9bb4
...@@ -855,7 +855,7 @@ static _cdebbuf *g_debbuf; ...@@ -855,7 +855,7 @@ static _cdebbuf *g_debbuf;
static u_long g_debbuf_lock; static u_long g_debbuf_lock;
static _cmsg *g_cmsg; static _cmsg *g_cmsg;
_cdebbuf *cdebbuf_alloc(void) static _cdebbuf *cdebbuf_alloc(void)
{ {
_cdebbuf *cdb; _cdebbuf *cdb;
...@@ -989,11 +989,6 @@ _cdebbuf *capi_cmsg2str(_cmsg * cmsg) ...@@ -989,11 +989,6 @@ _cdebbuf *capi_cmsg2str(_cmsg * cmsg)
return &g_debbuf; return &g_debbuf;
} }
_cdebbuf *cdebbuf_alloc(void)
{
return &g_debbuf;
}
void cdebbuf_free(_cdebbuf *cdb) void cdebbuf_free(_cdebbuf *cdb)
{ {
} }
...@@ -1009,7 +1004,6 @@ void __exit cdebug_exit(void) ...@@ -1009,7 +1004,6 @@ void __exit cdebug_exit(void)
#endif #endif
EXPORT_SYMBOL(cdebbuf_alloc);
EXPORT_SYMBOL(cdebbuf_free); EXPORT_SYMBOL(cdebbuf_free);
EXPORT_SYMBOL(capi_cmsg2message); EXPORT_SYMBOL(capi_cmsg2message);
EXPORT_SYMBOL(capi_message2cmsg); EXPORT_SYMBOL(capi_message2cmsg);
......
...@@ -187,7 +187,6 @@ typedef struct { ...@@ -187,7 +187,6 @@ typedef struct {
#define CDEBUG_SIZE 1024 #define CDEBUG_SIZE 1024
#define CDEBUG_GSIZE 4096 #define CDEBUG_GSIZE 4096
_cdebbuf *cdebbuf_alloc(void);
void cdebbuf_free(_cdebbuf *cdb); void cdebbuf_free(_cdebbuf *cdb);
int cdebug_init(void); int cdebug_init(void);
void cdebug_exit(void); void cdebug_exit(void);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment