svn commit: r365181 - head/sys/dev/pccard
Mateusz Guzik
mjg at FreeBSD.org
Tue Sep 1 22:01:05 UTC 2020
Author: mjg
Date: Tue Sep 1 22:01:04 2020
New Revision: 365181
URL: https://svnweb.freebsd.org/changeset/base/365181
Log:
pccard: clean up empty lines in .c and .h files
Modified:
head/sys/dev/pccard/pccard.c
head/sys/dev/pccard/pccard_cis_quirks.c
Modified: head/sys/dev/pccard/pccard.c
==============================================================================
--- head/sys/dev/pccard/pccard.c Tue Sep 1 22:00:48 2020 (r365180)
+++ head/sys/dev/pccard/pccard.c Tue Sep 1 22:01:04 2020 (r365181)
@@ -136,7 +136,6 @@ pccard_do_product_lookup(device_t bus, device_t dev,
const struct pccard_product *tab, size_t ent_size,
pccard_product_match_fn matchfn);
-
static int
pccard_ccr_read(struct pccard_function *pf, int ccr)
{
@@ -455,7 +454,7 @@ pccard_select_cfe(device_t dev, int entry)
{
struct pccard_ivar *devi = PCCARD_IVAR(dev);
struct pccard_function *pf = devi->pf;
-
+
pccard_function_init(pf, entry);
return (pf->cfe ? 0 : ENOMEM);
}
@@ -1259,7 +1258,7 @@ static void
pccard_intr(void *arg)
{
struct pccard_function *pf = (struct pccard_function*) arg;
-
+
pf->intr_handler(pf->intr_handler_arg);
}
@@ -1432,7 +1431,6 @@ pccard_ccr_write_impl(device_t brdev, device_t child,
return 0;
}
-
static device_method_t pccard_methods[] = {
/* Device interface */
DEVMETHOD(device_probe, pccard_probe),
@@ -1471,7 +1469,6 @@ static device_method_t pccard_methods[] = {
DEVMETHOD(card_attr_write, pccard_attr_write_impl),
DEVMETHOD(card_ccr_read, pccard_ccr_read_impl),
DEVMETHOD(card_ccr_write, pccard_ccr_write_impl),
-
{ 0, 0 }
};
Modified: head/sys/dev/pccard/pccard_cis_quirks.c
==============================================================================
--- head/sys/dev/pccard/pccard_cis_quirks.c Tue Sep 1 22:00:48 2020 (r365180)
+++ head/sys/dev/pccard/pccard_cis_quirks.c Tue Sep 1 22:01:04 2020 (r365181)
@@ -258,7 +258,7 @@ static struct pccard_cis_quirk pccard_cis_quirks[] = {
{ PCMCIA_VENDOR_INVALID, PCMCIA_PRODUCT_INVALID, PCMCIA_CIS_NDC_ND5100_E,
&pccard_ndc_nd5100_func0, &pccard_ndc_nd5100_func0_cfe0 },
};
-
+
static int
pccard_cis_quirk_match(struct pccard_softc *sc, struct pccard_cis_quirk *q)
{
More information about the svn-src-all
mailing list