pipex(4): kill unused declaration

2020-06-30 Thread Vitaliy Makkoveev
`udpcksum' declared but not used in net/pipex.c, so kill it

Index: sys/net/pipex.c
===
RCS file: /cvs/src/sys/net/pipex.c,v
retrieving revision 1.116
diff -u -p -r1.116 pipex.c
--- sys/net/pipex.c 22 Jun 2020 09:38:15 -  1.116
+++ sys/net/pipex.c 30 Jun 2020 13:28:48 -
@@ -104,9 +104,6 @@ struct mbuf_queue pipexoutq = MBUF_QUEUE
 /* borrow an mbuf pkthdr field */
 #define ph_ppp_proto ether_vtag
 
-/* from udp_usrreq.c */
-extern int udpcksum;
-
 #ifdef PIPEX_DEBUG
 int pipex_debug = 0;   /* systcl net.inet.ip.pipex_debug */
 #endif



Re: pipex(4): kill unused declaration

2020-06-30 Thread Claudio Jeker
On Tue, Jun 30, 2020 at 04:30:24PM +0300, Vitaliy Makkoveev wrote:
> `udpcksum' declared but not used in net/pipex.c, so kill it

OK claudio@ 
> Index: sys/net/pipex.c
> ===
> RCS file: /cvs/src/sys/net/pipex.c,v
> retrieving revision 1.116
> diff -u -p -r1.116 pipex.c
> --- sys/net/pipex.c   22 Jun 2020 09:38:15 -  1.116
> +++ sys/net/pipex.c   30 Jun 2020 13:28:48 -
> @@ -104,9 +104,6 @@ struct mbuf_queue pipexoutq = MBUF_QUEUE
>  /* borrow an mbuf pkthdr field */
>  #define ph_ppp_proto ether_vtag
>  
> -/* from udp_usrreq.c */
> -extern int udpcksum;
> -
>  #ifdef PIPEX_DEBUG
>  int pipex_debug = 0; /* systcl net.inet.ip.pipex_debug */
>  #endif
> 

-- 
:wq Claudio