svn commit: r365155 - head/sys/dev/sk
Mateusz Guzik
mjg at FreeBSD.org
Tue Sep 1 21:53:38 UTC 2020
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
More information about the svn-src-head
mailing list