diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2012-01-11 15:17:42 +0000 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2012-01-11 15:17:42 +0000 |
commit | 386a23551597205371d541080645bda02ab5b35f (patch) | |
tree | d79259dd2bbc6153665ce9857f30b237c60609cd /drivers/dahdi/xpp/xpp_dahdi.c | |
parent | d95c7702f7ca7bacad21b890724964072139260d (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/xpp_dahdi.c')
-rw-r--r-- | drivers/dahdi/xpp/xpp_dahdi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dahdi/xpp/xpp_dahdi.c b/drivers/dahdi/xpp/xpp_dahdi.c index 2d2cbd9..a7d263a 100644 --- a/drivers/dahdi/xpp/xpp_dahdi.c +++ b/drivers/dahdi/xpp/xpp_dahdi.c @@ -836,7 +836,7 @@ int xpp_maint(struct dahdi_span *span, int cmd) */ static int xpp_watchdog(struct dahdi_span *span, int cause) { - static int rate_limit = 0; + static int rate_limit; if((rate_limit++ % 1000) == 0) DBG(GENERAL, "\n"); |