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

This commit is contained in:
Mateusz Guzik 2020-09-01 22:01:04 +00:00
parent ba9f0c72dd
commit 3b20422328
2 changed files with 3 additions and 6 deletions

View File

@ -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, uint32_t offset,
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 }
};

View File

@ -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)
{