dahdi: Fix unused variable compile warning
An unset conditional compile flag was triggering the unused variable compile warning. Added the condition around the variable define. Signed-off-by: Russ Meyerriecks <rmeyerriecks@digium.com>
This commit is contained in:
parent
f09daed735
commit
a34b846f61
@ -1092,7 +1092,9 @@ static void dahdi_check_conf(int x)
|
||||
{
|
||||
unsigned long res;
|
||||
unsigned long flags;
|
||||
#ifdef CONFIG_DAHDI_CONFLINK
|
||||
int i;
|
||||
#endif
|
||||
|
||||
/* return if no valid conf number */
|
||||
if (x <= 0)
|
||||
|
Loading…
Reference in New Issue
Block a user