summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2010-03-01 19:28:28 +0000
committerShaun Ruffell <sruffell@digium.com>2010-03-01 19:28:28 +0000
commit1c41783269827f7bbbd65d62f96037eefda9398e (patch)
treeaba3d492abdcb1c4b0135c45e287a782b29e1ea7
parent48a30e5a368deca86cfbfc7f6345263e9c524f31 (diff)
wctdm24xx, wcte12xp: Fix compiler warning about unused local variable.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8189 a0bf4364-ded3-4de4-8d8a-66a801d63aff
-rw-r--r--drivers/dahdi/voicebus/voicebus.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/dahdi/voicebus/voicebus.c b/drivers/dahdi/voicebus/voicebus.c
index fa341b0..4a10a9e 100644
--- a/drivers/dahdi/voicebus/voicebus.c
+++ b/drivers/dahdi/voicebus/voicebus.c
@@ -1073,7 +1073,9 @@ vb_increase_latency(struct voicebus *vb, unsigned int increase,
struct list_head *buffers)
{
struct vbb *vbb;
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 27)
struct vbb *n;
+#endif
int i;
LIST_HEAD(local);