Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Sep 2020 22:10:55 +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: r365218 - head/sys/dev/ciss
Message-ID:  <202009012210.081MAtxw059900@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mjg
Date: Tue Sep  1 22:10:55 2020
New Revision: 365218
URL: https://svnweb.freebsd.org/changeset/base/365218

Log:
  ciss: clean up empty lines in .c and .h files

Modified:
  head/sys/dev/ciss/ciss.c
  head/sys/dev/ciss/cissreg.h
  head/sys/dev/ciss/cissvar.h

Modified: head/sys/dev/ciss/ciss.c
==============================================================================
--- head/sys/dev/ciss/ciss.c	Tue Sep  1 22:10:34 2020	(r365217)
+++ head/sys/dev/ciss/ciss.c	Tue Sep  1 22:10:55 2020	(r365218)
@@ -272,7 +272,6 @@ TUNABLE_INT("hw.ciss.force_transport", &ciss_force_tra
 static int ciss_force_interrupt = 0;
 TUNABLE_INT("hw.ciss.force_interrupt", &ciss_force_interrupt);
 
-
 /************************************************************************
  * CISS adapters amazingly don't have a defined programming interface
  * value.  (One could say some very despairing things about PCI and
@@ -1457,7 +1456,6 @@ ciss_init_logical(struct ciss_softc *sc)
 	    sc->ciss_logical[i][j].cl_status = CISS_LD_NONEXISTENT;
     }
 
-
     for (i = 0; i < sc->ciss_cfg->max_logical_supported; i++) {
 	if (i < ndrives) {
 	    struct ciss_ldrive	*ld;
@@ -1476,7 +1474,6 @@ ciss_init_logical(struct ciss_softc *sc)
 	     */
 	    if (ld->cl_lstatus->media_exchanged)
 		ciss_accept_media(sc, ld);
-
 	}
     }
 
@@ -2127,7 +2124,6 @@ ciss_done(struct ciss_softc *sc, cr_qhead_t *qh)
      * to the completed queue.
      */
     for (;;) {
-
 	tag = CISS_TL_SIMPLE_FETCH_CMD(sc);
 	if (tag == CISS_TL_SIMPLE_OPQ_EMPTY)
 	    break;
@@ -2229,7 +2225,6 @@ ciss_perf_msi_intr(void *arg)
     mtx_unlock(&sc->ciss_mtx);
 }
 
-
 /************************************************************************
  * Process completed requests.
  *
@@ -2482,7 +2477,6 @@ ciss_abort_request(struct ciss_request *ar)
 }
 #endif
 
-
 /************************************************************************
  * Fetch and initialise a request
  */
@@ -2983,7 +2977,6 @@ ciss_cam_action(struct cam_sim *sim, union ccb *ccb)
     physical = CISS_IS_PHYSICAL(bus);
 
     switch (ccb->ccb_h.func_code) {
-
 	/* perform SCSI I/O */
     case XPT_SCSI_IO:
 	if (!ciss_cam_action_io(sim, csio))
@@ -3399,7 +3392,6 @@ ciss_cam_complete_fixup(struct ciss_softc *sc, struct 
 	(cdb[1] & SI_EVPD) == 0 &&
 	(csio->ccb_h.flags & CAM_DIR_MASK) == CAM_DIR_IN &&
 	csio->dxfer_len >= SHORT_INQUIRY_LENGTH) {
-
 	inq = (struct scsi_inquiry_data *)csio->data_ptr;
 	target = csio->ccb_h.target_id;
 	bus = cam_sim_bus(xpt_path_sim(csio->ccb_h.path));
@@ -3430,7 +3422,6 @@ ciss_cam_complete_fixup(struct ciss_softc *sc, struct 
     }
 }
 
-
 /********************************************************************************
  * Name the device at (target)
  *
@@ -4205,7 +4196,6 @@ ciss_notify_thread(void *arg)
 	}
 
 	ciss_release_request(cr);
-
     }
     sc->ciss_notify_thread = NULL;
     wakeup(&sc->ciss_notify_thread);
@@ -4478,7 +4468,6 @@ ciss_decode_ldrive_status(int status)
 	return(CISS_LD_OFFLINE);
     }
 }
-
 
 /************************************************************************
  * Return a name for a logical drive's organisation.

Modified: head/sys/dev/ciss/cissreg.h
==============================================================================
--- head/sys/dev/ciss/cissreg.h	Tue Sep  1 22:10:34 2020	(r365217)
+++ head/sys/dev/ciss/cissreg.h	Tue Sep  1 22:10:55 2020	(r365218)
@@ -855,6 +855,4 @@ struct ciss_bmic_flush_cache {
 	CISS_TL_SIMPLE_WRITE(sc, CISS_TL_SIMPLE_IMR, \
 			     CISS_TL_SIMPLE_READ(sc, CISS_TL_SIMPLE_IMR) & ~(sc)->ciss_interrupt_mask)
 
-
-
 #endif /* _KERNEL */

Modified: head/sys/dev/ciss/cissvar.h
==============================================================================
--- head/sys/dev/ciss/cissvar.h	Tue Sep  1 22:10:34 2020	(r365217)
+++ head/sys/dev/ciss/cissvar.h	Tue Sep  1 22:10:55 2020	(r365218)
@@ -315,7 +315,6 @@ struct ciss_softc
 	    sc->ciss_qstat[qname].q_max = 0;	\
 	} while(0)
 
-
 #define CISSQ_REQUEST_QUEUE(name, index)				\
 static __inline void							\
 ciss_initq_ ## name (struct ciss_softc *sc)				\



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009012210.081MAtxw059900>