Commit 26285ba3 authored by Daniele Venzano's avatar Daniele Venzano Committed by David S. Miller

isdn: Fix missing ifdef in isdn_ppp

The following patch fixes a warning caused by a missing ifdef in
isdn_ppp.c. A function was defined, but never used if CONFIG_IPPP_FILTER
was not defined.

The warning was: 'get_filter' defined but not used
Patch is against
Signed-off-by: default avatarDaniele Venzano <>
Acked-by: default avatarKarsten Keil <>
Signed-off-by: default avatarDavid S. Miller <>
parent e955281c
......@@ -431,6 +431,7 @@ set_arg(void __user *b, void *val,int len)
return 0;
static int get_filter(void __user *arg, struct sock_filter **p)
struct sock_fprog uprog;
......@@ -465,6 +466,7 @@ static int get_filter(void __user *arg, struct sock_filter **p)
*p = code;
return uprog.len;
* ippp device ioctl
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment