Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/net remove double newlines



details:   https://anonhg.NetBSD.org/src/rev/6abefcddd24f
branches:  trunk
changeset: 946383:6abefcddd24f
user:      yamaguchi <yamaguchi%NetBSD.org@localhost>
date:      Wed Nov 25 10:05:40 2020 +0000

description:
remove double newlines

diffstat:

 sys/net/if_spppsubr.c |  16 ++--------------
 1 files changed, 2 insertions(+), 14 deletions(-)

diffs (114 lines):

diff -r aab3ccb6d551 -r 6abefcddd24f sys/net/if_spppsubr.c
--- a/sys/net/if_spppsubr.c     Wed Nov 25 10:03:38 2020 +0000
+++ b/sys/net/if_spppsubr.c     Wed Nov 25 10:05:40 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_spppsubr.c,v 1.205 2020/11/25 10:03:38 yamaguchi Exp $       */
+/*     $NetBSD: if_spppsubr.c,v 1.206 2020/11/25 10:05:40 yamaguchi Exp $       */
 
 /*
  * Synchronous PPP/Cisco link level subroutines.
@@ -41,7 +41,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_spppsubr.c,v 1.205 2020/11/25 10:03:38 yamaguchi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_spppsubr.c,v 1.206 2020/11/25 10:05:40 yamaguchi Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_inet.h"
@@ -50,7 +50,6 @@
 #include "opt_net_mpsafe.h"
 #endif
 
-
 #include <sys/param.h>
 #include <sys/proc.h>
 #include <sys/systm.h>
@@ -462,7 +461,6 @@
 
 static void sppp_notify_chg_wlocked(struct sppp *);
 
-
 /* our control protocol descriptors */
 static const struct cp lcp = {
        PPP_LCP, IDX_LCP, CP_LCP, "lcp",
@@ -1289,7 +1287,6 @@
        return (error);
 }
 
-
 /*
  * Cisco framing implementation.
  */
@@ -1502,7 +1499,6 @@
        if_statadd(ifp, if_obytes, m->m_pkthdr.len + sp->pp_framebytes);
        IF_ENQUEUE(&sp->pp_cpq, m);
 
-
        if (! (ifp->if_flags & IFF_OACTIVE)) {
                SPPP_UNLOCK(sp);
                if_start_lock(ifp);
@@ -1550,7 +1546,6 @@
        sppp_wq_add(sp->wq_cp, &sp->scp[IDX_CHAP].work_to);
 }
 
-
 static void
 sppp_cp_init(const struct cp *cp, struct sppp *sp)
 {
@@ -1855,7 +1850,6 @@
        SPPP_UNLOCK(sp);
 }
 
-
 /*
  * The generic part of all Up/Down/Open/Close/TO event handlers.
  * Basically, the state transition handling in the automaton.
@@ -1935,7 +1929,6 @@
        }
 }
 
-
 static void
 sppp_open_event(struct sppp *sp, void *xcp)
 {
@@ -1978,7 +1971,6 @@
        }
 }
 
-
 static void
 sppp_close_event(struct sppp *sp, void *xcp)
 {
@@ -3790,7 +3782,6 @@
        sppp_cp_send(sp, PPP_IPCP, CONF_REQ, sp->scp[IDX_IPCP].confid, i, &opt);
 }
 
-
 /*
  *--------------------------------------------------------------------------*
  *                                                                          *
@@ -4325,7 +4316,6 @@
 }
 #endif /*INET6*/
 
-
 /*
  *--------------------------------------------------------------------------*
  *                                                                          *
@@ -5272,7 +5262,6 @@
                        continue;
                }
 
-
                /* No keepalive in PPP mode if LCP not opened yet. */
                if (! (sp->pp_flags & PP_CISCO) &&
                    sp->pp_phase < SPPP_PHASE_AUTHENTICATE) {
@@ -5760,7 +5749,6 @@
                    } else {
                        len = sp->myauth.name_len + 1;
 
-
                        if (cfg->myname_length < len) {
                                SPPP_UNLOCK(sp);
                                return (ENAMETOOLONG);



Home | Main Index | Thread Index | Old Index