Date: Tue, 1 Sep 2020 22:00:30 +0000 (UTC) From: Mateusz Guzik <mjg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r365179 - head/sys/dev/pcf Message-ID: <202009012200.081M0Ui4048638@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mjg Date: Tue Sep 1 22:00:30 2020 New Revision: 365179 URL: https://svnweb.freebsd.org/changeset/base/365179 Log: pcf: clean up empty lines in .c and .h files Modified: head/sys/dev/pcf/pcf.c Modified: head/sys/dev/pcf/pcf.c ============================================================================== --- head/sys/dev/pcf/pcf.c Tue Sep 1 22:00:07 2020 (r365178) +++ head/sys/dev/pcf/pcf.c Tue Sep 1 22:00:30 2020 (r365179) @@ -66,7 +66,6 @@ pcf_wait_byte(struct pcf_softc *sc) PCF_ASSERT_LOCKED(sc); while (counter--) { - if ((pcf_get_S1(sc) & PIN) == 0) return (0); } @@ -252,7 +251,6 @@ pcf_intr(void *arg) status = pcf_get_S1(sc); switch(sc->pcf_slave_mode) { - case SLAVE_TRANSMITTER: if (status & LRB) { /* ack interrupt line */ @@ -393,7 +391,6 @@ pcf_write(device_t dev, const char *buf, int len, int bytes = 0; PCF_LOCK(sc); while (len) { - pcf_set_S0(sc, *buf++); /* wait for the byte to be send */ @@ -445,7 +442,6 @@ pcf_read(device_t dev, char *buf, int len, int *read, bytes = 0; while (len) { - /* XXX delay needed here */ /* wait for trigged byte */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009012200.081M0Ui4048638>