summaryrefslogtreecommitdiff
path: root/drivers/dahdi/dahdi-base.c
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2010-09-14 02:20:54 +0000
committerShaun Ruffell <sruffell@digium.com>2010-09-14 02:20:54 +0000
commit6bb8b05c128e7748d2b818afa1680c1b46929f07 (patch)
tree81569d37092655f2fde71721e3031388eab8cad0 /drivers/dahdi/dahdi-base.c
parent0c0745c2b640d13b734e38318291eb98a92a2ce3 (diff)
dahdi: Remove the unused label from __buf_pull and __buf_push calls.
These label parameters were not used in the functions. They are most likely some debug code that was left over. Signed-off-by: Shaun Ruffell <sruffell@digium.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9321 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/dahdi-base.c')
-rw-r--r--drivers/dahdi/dahdi-base.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/drivers/dahdi/dahdi-base.c b/drivers/dahdi/dahdi-base.c
index 6e441ca..95dfe4d 100644
--- a/drivers/dahdi/dahdi-base.c
+++ b/drivers/dahdi/dahdi-base.c
@@ -1103,7 +1103,7 @@ static void dahdi_set_law(struct dahdi_chan *chan, int law);
/* Pull a DAHDI_CHUNKSIZE piece off the queue. Returns
0 on success or -1 on failure. If failed, provides
silence */
-static int __buf_pull(struct confq *q, u_char *data, struct dahdi_chan *c, char *label)
+static int __buf_pull(struct confq *q, u_char *data, struct dahdi_chan *c)
{
int oldoutbuf = q->outbuf;
/* Ain't nuffin to read */
@@ -1174,7 +1174,7 @@ static void __buf_munge(struct dahdi_chan *chan, u_char *old, u_char *new)
#endif
/* Push something onto the queue, or assume what
is there is valid if data is NULL */
-static int __buf_push(struct confq *q, u_char *data, char *label)
+static int __buf_push(struct confq *q, u_char *data)
{
int oldinbuf = q->inbuf;
if (q->inbuf < 0) {
@@ -8141,7 +8141,7 @@ static inline void __dahdi_real_transmit(struct dahdi_chan *chan)
#endif
if (chan->confmode) {
/* Pull queued data off the conference */
- __buf_pull(&chan->confout, chan->writechunk, chan, "dahdi_real_transmit");
+ __buf_pull(&chan->confout, chan->writechunk, chan);
} else {
__dahdi_transmit_chunk(chan, chan->writechunk);
}
@@ -8227,7 +8227,7 @@ static inline void __dahdi_real_receive(struct dahdi_chan *chan)
#endif
if (chan->confmode) {
/* Load into queue if we have space */
- __buf_push(&chan->confin, chan->readchunk, "dahdi_real_receive");
+ __buf_push(&chan->confin, chan->readchunk);
} else {
__dahdi_receive_chunk(chan, chan->readchunk);
}
@@ -8335,8 +8335,7 @@ static void process_masterspan(void)
data = __buf_peek(&chans[x]->confin);
__dahdi_receive_chunk(chans[x], data);
if (data) {
- __buf_pull(&chans[x]->confin, NULL, chans[x],
- "confreceive");
+ __buf_pull(&chans[x]->confin, NULL, chans[x]);
}
spin_unlock(&chans[x]->lock);
}
@@ -8387,8 +8386,7 @@ static void process_masterspan(void)
data = __buf_pushpeek(&chans[x]->confout);
__dahdi_transmit_chunk(chans[x], data);
if (data)
- __buf_push(&chans[x]->confout, NULL,
- "conftransmit");
+ __buf_push(&chans[x]->confout, NULL);
spin_unlock(&chans[x]->lock);
}
}