if_age: clean up empty lines in .c and .h files
This commit is contained in:
parent
5e2a4c14bc
commit
e1d91fa0c2
@ -156,7 +156,6 @@ static int sysctl_int_range(SYSCTL_HANDLER_ARGS, int, int);
|
||||
static int sysctl_hw_age_proc_limit(SYSCTL_HANDLER_ARGS);
|
||||
static int sysctl_hw_age_int_mod(SYSCTL_HANDLER_ARGS);
|
||||
|
||||
|
||||
static device_method_t age_methods[] = {
|
||||
/* Device interface. */
|
||||
DEVMETHOD(device_probe, age_probe),
|
||||
@ -170,7 +169,6 @@ static device_method_t age_methods[] = {
|
||||
DEVMETHOD(miibus_readreg, age_miibus_readreg),
|
||||
DEVMETHOD(miibus_writereg, age_miibus_writereg),
|
||||
DEVMETHOD(miibus_statchg, age_miibus_statchg),
|
||||
|
||||
{ NULL, NULL }
|
||||
};
|
||||
|
||||
@ -566,7 +564,6 @@ age_attach(device_t dev)
|
||||
goto fail;
|
||||
}
|
||||
|
||||
|
||||
/* Get DMA parameters from PCIe device control register. */
|
||||
if (pci_find_cap(dev, PCIY_EXPRESS, &i) == 0) {
|
||||
sc->age_flags |= AGE_FLAG_PCIE;
|
||||
|
@ -249,7 +249,6 @@ struct age_softc {
|
||||
#define AGE_UNLOCK(_sc) mtx_unlock(&(_sc)->age_mtx)
|
||||
#define AGE_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->age_mtx, MA_OWNED)
|
||||
|
||||
|
||||
#define AGE_COMMIT_MBOX(_sc) \
|
||||
do { \
|
||||
CSR_WRITE_4(_sc, AGE_MBOX, \
|
||||
|
Loading…
Reference in New Issue
Block a user