Date: Tue, 1 Sep 2020 21:53:38 +0000 (UTC) From: Mateusz Guzik <mjg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r365155 - head/sys/dev/sk Message-ID: <202009012153.081LrcEV046980@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mjg Date: Tue Sep 1 21:53:37 2020 New Revision: 365155 URL: https://svnweb.freebsd.org/changeset/base/365155 Log: sk: clean up empty lines in .c and .h files Modified: head/sys/dev/sk/if_sk.c head/sys/dev/sk/if_skreg.h Modified: head/sys/dev/sk/if_sk.c ============================================================================== --- head/sys/dev/sk/if_sk.c Tue Sep 1 21:53:21 2020 (r365154) +++ head/sys/dev/sk/if_sk.c Tue Sep 1 21:53:37 2020 (r365155) @@ -265,7 +265,7 @@ static int sysctl_hw_sk_int_mod(SYSCTL_HANDLER_ARGS); /* Tunables. */ static int jumbo_disable = 0; TUNABLE_INT("hw.skc.jumbo_disable", &jumbo_disable); - + /* * It seems that SK-NET GENESIS supports very simple checksum offload * capability for Tx and I believe it can generate 0 checksum value for @@ -936,7 +936,6 @@ sk_discard_rxbuf(sc_if, idx) struct sk_rxdesc *rxd; struct mbuf *m; - r = &sc_if->sk_rdata.sk_rx_ring[idx]; rxd = &sc_if->sk_cdata.sk_rxdesc[idx]; m = rxd->rx_m; @@ -2535,7 +2534,6 @@ sk_start_locked(ifp) sc_if->sk_watchdog_timer = 5; } } - static void sk_watchdog(arg) Modified: head/sys/dev/sk/if_skreg.h ============================================================================== --- head/sys/dev/sk/if_skreg.h Tue Sep 1 21:53:21 2020 (r365154) +++ head/sys/dev/sk/if_skreg.h Tue Sep 1 21:53:37 2020 (r365155) @@ -133,7 +133,6 @@ * there are a few 16-bit and 8-bit ones as well. */ - /* Start of remappable register window. */ #define SK_WIN_BASE 0x0080
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009012153.081LrcEV046980>