Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Sep 2020 22:05:21 +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: r365197 - head/sys/dev/my
Message-ID:  <202009012205.081M5L7Q055401@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mjg
Date: Tue Sep  1 22:05:21 2020
New Revision: 365197
URL: https://svnweb.freebsd.org/changeset/base/365197

Log:
  my: clean up empty lines in .c and .h files

Modified:
  head/sys/dev/my/if_my.c
  head/sys/dev/my/if_myreg.h

Modified: head/sys/dev/my/if_my.c
==============================================================================
--- head/sys/dev/my/if_my.c	Tue Sep  1 22:05:00 2020	(r365196)
+++ head/sys/dev/my/if_my.c	Tue Sep  1 22:05:21 2020	(r365197)
@@ -80,7 +80,6 @@ static int      MY_USEIOSPACE = 1;
 #define MY_RID                  MY_PCI_LOMEM
 #endif
 
-
 #include <dev/my/if_myreg.h>
 
 /*
@@ -220,7 +219,6 @@ my_send_cmd_to_phy(struct my_softc * sc, int opcode, i
 	return miir;
 }
 
-
 static u_int16_t
 my_phy_readreg(struct my_softc * sc, int reg)
 {
@@ -264,7 +262,6 @@ my_phy_readreg(struct my_softc * sc, int reg)
 	return (u_int16_t) data;
 }
 
-
 static void
 my_phy_writereg(struct my_softc * sc, int reg, int data)
 {
@@ -1006,7 +1003,6 @@ my_detach(device_t dev)
 	return (0);
 }
 
-
 /*
  * Initialize the transmit descriptors.
  */
@@ -1179,7 +1175,6 @@ my_rxeof(struct my_softc * sc)
 	return;
 }
 
-
 /*
  * A frame was downloaded to the chip. It's safe for us to clean up the list
  * buffers.
@@ -1311,7 +1306,6 @@ my_intr(void *arg)
 			my_init_locked(sc);
 		}
 #endif
-
 	}
 
 	/* Re-enable interrupts. */
@@ -1708,7 +1702,6 @@ my_watchdog(void *arg)
 	if (!IFQ_DRV_IS_EMPTY(&ifp->if_snd))
 		my_start_locked(ifp);
 }
-
 
 /*
  * Stop the adapter and free any mbufs allocated to the RX and TX lists.

Modified: head/sys/dev/my/if_myreg.h
==============================================================================
--- head/sys/dev/my/if_myreg.h	Tue Sep  1 22:05:00 2020	(r365196)
+++ head/sys/dev/my/if_myreg.h	Tue Sep  1 22:05:21 2020	(r365197)
@@ -585,5 +585,3 @@ struct my_softc {
 #define PHY_BMSR_LINKSTAT               0x0004
 #define PHY_BMSR_JABBER                 0x0002
 #define PHY_BMSR_EXTENDED               0x0001
-
-



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009012205.081M5L7Q055401>