Date: Tue, 1 Sep 2020 21:32:07 +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: r365094 - head/sys/dev/aac Message-ID: <202009012132.081LW7ax031488@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mjg Date: Tue Sep 1 21:32:07 2020 New Revision: 365094 URL: https://svnweb.freebsd.org/changeset/base/365094 Log: aac: clean up empty lines in .c and .h files Modified: head/sys/dev/aac/aac.c head/sys/dev/aac/aac_cam.c head/sys/dev/aac/aac_debug.c head/sys/dev/aac/aac_disk.c head/sys/dev/aac/aacreg.h Modified: head/sys/dev/aac/aac.c ============================================================================== --- head/sys/dev/aac/aac.c Tue Sep 1 21:31:50 2020 (r365093) +++ head/sys/dev/aac/aac.c Tue Sep 1 21:32:07 2020 (r365094) @@ -1029,7 +1029,6 @@ aac_command_thread(struct aac_softc *sc) sc->aifflags = AAC_AIFFLAGS_RUNNING; while ((sc->aifflags & AAC_AIFFLAGS_EXIT) == 0) { - retval = 0; if ((sc->aifflags & AAC_AIFFLAGS_PENDING) == 0) retval = msleep(sc->aifthread, &sc->aac_io_lock, PRIBIO, @@ -1533,7 +1532,6 @@ aac_free_commands(struct aac_softc *sc) fwprintf(sc, HBA_FLAGS_DBG_FUNCTION_ENTRY_B, ""); while ((fm = TAILQ_FIRST(&sc->aac_fibmap_tqh)) != NULL) { - TAILQ_REMOVE(&sc->aac_fibmap_tqh, fm, fm_link); /* * We check against total_fibs to handle partially Modified: head/sys/dev/aac/aac_cam.c ============================================================================== --- head/sys/dev/aac/aac_cam.c Tue Sep 1 21:31:50 2020 (r365093) +++ head/sys/dev/aac/aac_cam.c Tue Sep 1 21:32:07 2020 (r365094) @@ -144,7 +144,6 @@ aac_cam_rescan(struct aac_softc *sc, uint32_t channel, } } - static void aac_cam_event(struct aac_softc *sc, struct aac_event *event, void *arg) { Modified: head/sys/dev/aac/aac_debug.c ============================================================================== --- head/sys/dev/aac/aac_debug.c Tue Sep 1 21:31:50 2020 (r365093) +++ head/sys/dev/aac/aac_debug.c Tue Sep 1 21:32:07 2020 (r365094) @@ -392,7 +392,7 @@ aac_print_aif(struct aac_softc *sc, struct aac_aif_com default: status = "unknown status"; break; } - + device_printf(sc->aac_dev, "JobProgress (%d) - %s (%d, %d)\n", aif->seqNumber, status, aif->data.PR[0].currentTick, Modified: head/sys/dev/aac/aac_disk.c ============================================================================== --- head/sys/dev/aac/aac_disk.c Tue Sep 1 21:31:50 2020 (r365093) +++ head/sys/dev/aac/aac_disk.c Tue Sep 1 21:32:07 2020 (r365094) @@ -100,7 +100,7 @@ aac_disk_open(struct disk *dp) fwprintf(NULL, HBA_FLAGS_DBG_FUNCTION_ENTRY_B, ""); sc = (struct aac_disk *)dp->d_drv1; - + if (sc == NULL) { printf("aac_disk_open: No Softc\n"); return (ENXIO); @@ -129,7 +129,7 @@ aac_disk_close(struct disk *dp) fwprintf(NULL, HBA_FLAGS_DBG_FUNCTION_ENTRY_B, ""); sc = (struct aac_disk *)dp->d_drv1; - + if (sc == NULL) return (ENXIO); @@ -366,7 +366,7 @@ static int aac_disk_attach(device_t dev) { struct aac_disk *sc; - + sc = (struct aac_disk *)device_get_softc(dev); fwprintf(NULL, HBA_FLAGS_DBG_FUNCTION_ENTRY_B, ""); Modified: head/sys/dev/aac/aacreg.h ============================================================================== --- head/sys/dev/aac/aacreg.h Tue Sep 1 21:31:50 2020 (r365093) +++ head/sys/dev/aac/aacreg.h Tue Sep 1 21:32:07 2020 (r365094) @@ -1563,4 +1563,3 @@ enum { AAC_DB_RESPONSE_READY | \ AAC_DB_PRINTF) #define AAC_DB_INT_NEW_COMM 0x08 -
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009012132.081LW7ax031488>