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

This commit is contained in:
Mateusz Guzik 2020-09-01 22:05:21 +00:00
parent ecb86c27ba
commit 6622a5e912
2 changed files with 0 additions and 9 deletions

View File

@ -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, int regad)
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. */
@ -1709,7 +1703,6 @@ my_watchdog(void *arg)
my_start_locked(ifp);
}
/*
* Stop the adapter and free any mbufs allocated to the RX and TX lists.
*/

View File

@ -585,5 +585,3 @@ struct my_softc {
#define PHY_BMSR_LINKSTAT 0x0004
#define PHY_BMSR_JABBER 0x0002
#define PHY_BMSR_EXTENDED 0x0001