summaryrefslogtreecommitdiff
path: root/drivers/dahdi/xpp/xbus-pcm.c
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2011-01-03 18:26:39 +0000
committerShaun Ruffell <sruffell@digium.com>2011-01-03 18:26:39 +0000
commit2a951fd6a326df6058940cddc82f72435bfd7b2a (patch)
tree1f1a1d72301b9ebdad524b963a664cde42319c4f /drivers/dahdi/xpp/xbus-pcm.c
parent4aea9102e00159077ff5df3c584159495880ea54 (diff)
dahdi, xpp: dahdi_span_ops.sync_tick should return void.
Since the return value is not defined/used just return void. Signed-off-by: Shaun Ruffell <sruffell@digium.com> Acked-by: Kinsey Moore <kmoore@digium.com> Acked-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9587 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/xpp/xbus-pcm.c')
-rw-r--r--drivers/dahdi/xpp/xbus-pcm.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/dahdi/xpp/xbus-pcm.c b/drivers/dahdi/xpp/xbus-pcm.c
index cad61fb..ccd28ee 100644
--- a/drivers/dahdi/xpp/xbus-pcm.c
+++ b/drivers/dahdi/xpp/xbus-pcm.c
@@ -494,7 +494,7 @@ static void global_tick(void)
}
#ifdef DAHDI_SYNC_TICK
-int dahdi_sync_tick(struct dahdi_span *span, int is_master)
+void dahdi_sync_tick(struct dahdi_span *span, int is_master)
{
xpd_t *xpd = container_of(span, struct xpd, span);
static int redundant_ticks; /* for extra spans */
@@ -536,9 +536,8 @@ int dahdi_sync_tick(struct dahdi_span *span, int is_master)
xpp_ticker_step(&dahdi_ticker, &now);
dahdi_tick_count++;
//flip_parport_bit(1);
- return 0;
noop:
- return 0; /* No auto sync from dahdi */
+ return;
}
#endif