Re: [PATCH 6/6] mISDN: remove unused function

2016-10-04 Thread Arnd Bergmann
On Saturday, September 24, 2016 1:28:02 PM CEST Baoyou Xie wrote: > diff --git a/drivers/isdn/mISDN/layer2.c b/drivers/isdn/mISDN/layer2.c > index f6ab6027..2519510 100644 > --- a/drivers/isdn/mISDN/layer2.c > +++ b/drivers/isdn/mISDN/layer2.c > @@ -459,15 +459,6 @@ IsDISC(u_char *data) > r

[PATCH 6/6] mISDN: remove unused function

2016-09-23 Thread Baoyou Xie
We get 1 warning when building kernel with W=1: drivers/isdn/mISDN/layer2.c:463:1: warning: no previous declaration for 'IsRR' [-Wmissing-declarations] In fact, this function is called by no one and not exported, so this patch removes it. Signed-off-by: Baoyou Xie --- drivers/isdn/mISDN/layer2