summaryrefslogtreecommitdiff
path: root/drivers/dahdi/xpp/xframe_queue.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dahdi/xpp/xframe_queue.c')
-rw-r--r--drivers/dahdi/xpp/xframe_queue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dahdi/xpp/xframe_queue.c b/drivers/dahdi/xpp/xframe_queue.c
index cc3ea6c..ce71f86 100644
--- a/drivers/dahdi/xpp/xframe_queue.c
+++ b/drivers/dahdi/xpp/xframe_queue.c
@@ -48,7 +48,7 @@ static void __xframe_dump_queue(struct xframe_queue *q)
static bool __xframe_enqueue(struct xframe_queue *q, xframe_t *xframe)
{
int ret = 1;
- static int overflow_cnt = 0;
+ static int overflow_cnt;
if(unlikely(q->disabled)) {
ret = 0;