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

This commit is contained in:
mjg 2020-09-01 21:32:25 +00:00
parent 0d822f29e9
commit bdd3a637a4
5 changed files with 5 additions and 16 deletions

View File

@ -1023,7 +1023,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,
@ -1267,7 +1266,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
@ -1451,7 +1449,6 @@ aacraid_map_command_sg(void *arg, bus_dma_segment_t *segs, int nseg, int error)
}
}
static int
aac_convert_sgraw2(struct aac_softc *sc, struct aac_raw_io2 *raw,
int pages, int nseg, int nseg_new)
@ -1488,7 +1485,6 @@ aac_convert_sgraw2(struct aac_softc *sc, struct aac_raw_io2 *raw,
return nseg_new;
}
/*
* Unmap a command from controller-visible space.
*/
@ -3103,7 +3099,6 @@ aac_request_aif(struct aac_softc *sc)
aacraid_map_command_sg(cm, NULL, 0, 0);
}
/*
* cdevpriv interface private destructor.
*/

View File

@ -704,7 +704,6 @@ void aacraid_fw_print_mem(struct aac_softc *sc, unsigned long PrintFlags, u_int8
* Bump the offset by 16 for the next line
*/
Offset += 16;
}
/*
@ -713,4 +712,3 @@ void aacraid_fw_print_mem(struct aac_softc *sc, unsigned long PrintFlags, u_int8
if (sc != NULL)
sc->FwDebugFlags = DebugFlags;
}

View File

@ -71,7 +71,6 @@
#define aac_blockread64_tole(ptr)
#define aac_blockwrite64_tole(ptr)
#else /* _BYTE_ORDER != _LITTLE_ENDIAN */
/* Convert from Little-Endian to host order (TOH) */

View File

@ -1342,7 +1342,6 @@ typedef enum {
CMUNSTABLE
} AAC_CommitLevel;
#define CT_FIB_PARAMS 6
#define MAX_FIB_PARAMS 10
#define CT_PACKET_SIZE \
@ -1590,7 +1589,6 @@ enum {
#define AAC_IRCSR 0x38 /* inbound dual cores reset */
#define AAC_IRCSR_CORES_RST 3
/*
* Common bit definitions for the doorbell registers.
*/

View File

@ -556,7 +556,6 @@ struct aac_code_lookup {
sc->aac_qstat[qname].q_max = 0; \
} while (0)
#define AACQ_COMMAND_QUEUE(name, index) \
static __inline void \
aac_initq_ ## name (struct aac_softc *sc) \