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 res;
|
||||||
unsigned long flags;
|
unsigned long flags;
|
||||||
|
#ifdef CONFIG_DAHDI_CONFLINK
|
||||||
int i;
|
int i;
|
||||||
|
#endif
|
||||||
|
|
||||||
/* return if no valid conf number */
|
/* return if no valid conf number */
|
||||||
if (x <= 0)
|
if (x <= 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user