From: Stephen Hemminger Date: Sat, 25 Aug 2007 05:38:26 +0000 (-0700) Subject: [SLIP]: trivial sparse warning fix X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=97a1ad431b89765755d2b5aa8c0777ed637d5c4a;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git [SLIP]: trivial sparse warning fix Function declared static in forward declaration, but not in actual code. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller --- diff --git a/drivers/net/slip.c b/drivers/net/slip.c index 65bd20fac82..3fd4735006f 100644 --- a/drivers/net/slip.c +++ b/drivers/net/slip.c @@ -957,7 +957,7 @@ slip_close(struct tty_struct *tty) * STANDARD SLIP ENCAPSULATION * ************************************************************************/ -int +static int slip_esc(unsigned char *s, unsigned char *d, int len) { unsigned char *ptr = d;