From owner-svn-src-all@freebsd.org Tue Sep 1 22:01:05 2020 Return-Path: Delivered-To: svn-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4128C37DA8C; Tue, 1 Sep 2020 22:01:05 +0000 (UTC) (envelope-from mjg@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bh1H5151Qz4b45; Tue, 1 Sep 2020 22:01:05 +0000 (UTC) (envelope-from mjg@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 088E520607; Tue, 1 Sep 2020 22:01:05 +0000 (UTC) (envelope-from mjg@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 081M14GQ049492; Tue, 1 Sep 2020 22:01:04 GMT (envelope-from mjg@FreeBSD.org) Received: (from mjg@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 081M14bC049491; Tue, 1 Sep 2020 22:01:04 GMT (envelope-from mjg@FreeBSD.org) Message-Id: <202009012201.081M14bC049491@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mjg set sender to mjg@FreeBSD.org using -f From: Mateusz Guzik Date: Tue, 1 Sep 2020 22:01:04 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r365181 - head/sys/dev/pccard X-SVN-Group: head X-SVN-Commit-Author: mjg X-SVN-Commit-Paths: head/sys/dev/pccard X-SVN-Commit-Revision: 365181 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2020 22:01:05 -0000 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) {