From a794225cc14e54c1c312be00ba5e4fb23896af4c Mon Sep 17 00:00:00 2001 From: Mateusz Guzik Date: Tue, 1 Sep 2020 21:53:37 +0000 Subject: [PATCH] sk: clean up empty lines in .c and .h files --- sys/dev/sk/if_sk.c | 4 +--- sys/dev/sk/if_skreg.h | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/sys/dev/sk/if_sk.c b/sys/dev/sk/if_sk.c index 037a9aaf388a..cb196e4fe3dd 100644 --- a/sys/dev/sk/if_sk.c +++ b/sys/dev/sk/if_sk.c @@ -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; @@ -2536,7 +2535,6 @@ sk_start_locked(ifp) } } - static void sk_watchdog(arg) void *arg; diff --git a/sys/dev/sk/if_skreg.h b/sys/dev/sk/if_skreg.h index 85d3f14ea625..5a4f18e9e851 100644 --- a/sys/dev/sk/if_skreg.h +++ b/sys/dev/sk/if_skreg.h @@ -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