From 1c41783269827f7bbbd65d62f96037eefda9398e Mon Sep 17 00:00:00 2001 From: Shaun Ruffell Date: Mon, 1 Mar 2010 19:28:28 +0000 Subject: 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 --- drivers/dahdi/voicebus/voicebus.c | 2 ++ 1 file changed, 2 insertions(+) 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); -- cgit v1.2.3