summaryrefslogtreecommitdiff
path: root/drivers/dahdi/xpp/xframe_queue.c
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2012-01-11 15:17:42 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2012-01-11 15:17:42 +0000
commit386a23551597205371d541080645bda02ab5b35f (patch)
treed79259dd2bbc6153665ce9857f30b237c60609cd /drivers/dahdi/xpp/xframe_queue.c
parentd95c7702f7ca7bacad21b890724964072139260d (diff)
xpp: style - Remove 0/NULL static initializers
* Applied via: perl -pi -e 's/(\bstatic\b[^=]*?)\s*=\s*(0|NULL)\s*;/$1;/' "$@" Signed-off-by: Oron Peled <oron.peled@xorcom.com> Acked-By: Tzafrir Cohen <tzafrir.cohen@xorcom.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@10423 a0bf4364-ded3-4de4-8d8a-66a801d63aff
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;