diff options
author | Mateusz Guzik <mjg@FreeBSD.org> | 2020-09-01 21:30:22 +0000 |
---|---|---|
committer | Mateusz Guzik <mjg@FreeBSD.org> | 2020-09-01 21:30:22 +0000 |
commit | 2140d5b64f0afc5a5f5c317d1f66a6ca3f8be2b2 (patch) | |
tree | ba0aec4fdd46d40944747be6a022cca5f9ac9eaa /sys/dev/iscsi | |
parent | 4eb2ed072bd0789c2eae8ecaec0d580fee419ce7 (diff) | |
download | src-2140d5b64f0afc5a5f5c317d1f66a6ca3f8be2b2.tar.gz src-2140d5b64f0afc5a5f5c317d1f66a6ca3f8be2b2.zip |
iscsi: clean up empty lines in .c and .h files
Notes
Notes:
svn path=/head/; revision=365090
Diffstat (limited to 'sys/dev/iscsi')
-rw-r--r-- | sys/dev/iscsi/icl_soft.c | 1 | ||||
-rw-r--r-- | sys/dev/iscsi/icl_soft_proxy.c | 3 | ||||
-rw-r--r-- | sys/dev/iscsi/iscsi.c | 6 |
3 files changed, 4 insertions, 6 deletions
diff --git a/sys/dev/iscsi/icl_soft.c b/sys/dev/iscsi/icl_soft.c index 38eb530e5498..401b0ddc2159 100644 --- a/sys/dev/iscsi/icl_soft.c +++ b/sys/dev/iscsi/icl_soft.c @@ -954,7 +954,6 @@ icl_conn_send_pdus(struct icl_conn *ic, struct icl_pdu_stailq *queue) request = STAILQ_FIRST(queue); size = icl_pdu_size(request); if (available < size) { - /* * Set the low watermark, to be checked by * sowriteable() in icl_soupcall_send() diff --git a/sys/dev/iscsi/icl_soft_proxy.c b/sys/dev/iscsi/icl_soft_proxy.c index fdfeb48081f5..e330be88fb98 100644 --- a/sys/dev/iscsi/icl_soft_proxy.c +++ b/sys/dev/iscsi/icl_soft_proxy.c @@ -192,7 +192,7 @@ icl_listen_free(struct icl_listen *il) pause("icl_unlisten", 1 * hz); sx_xlock(&il->il_lock); } - + TAILQ_REMOVE(&il->il_sockets, ils, ils_next); soclose(ils->ils_socket); free(ils, M_ICL_PROXY); @@ -326,7 +326,6 @@ icl_listen_add(struct icl_listen *il, bool rdma, int domain, int socktype, return (EOPNOTSUPP); } - return (icl_listen_add_tcp(il, domain, socktype, protocol, sa, portal_id)); } diff --git a/sys/dev/iscsi/iscsi.c b/sys/dev/iscsi/iscsi.c index aa426392aba0..9663106cf05e 100644 --- a/sys/dev/iscsi/iscsi.c +++ b/sys/dev/iscsi/iscsi.c @@ -398,14 +398,14 @@ iscsi_maintenance_thread_reconnect(struct iscsi_session *is) } cv_signal(&is->is_login_cv); #endif - + if (fail_on_disconnection) { ISCSI_SESSION_DEBUG(is, "connection failed, destroying devices"); iscsi_session_cleanup(is, true); } else { iscsi_session_cleanup(is, false); } - + KASSERT(TAILQ_EMPTY(&is->is_outstanding), ("destroying session with active tasks")); KASSERT(STAILQ_EMPTY(&is->is_postponed), @@ -1037,7 +1037,7 @@ iscsi_pdu_handle_data_in(struct icl_pdu *response) union ccb *ccb; struct ccb_scsiio *csio; size_t data_segment_len, received, oreceived; - + is = PDU_SESSION(response); bhsdi = (struct iscsi_bhs_data_in *)response->ip_bhs; io = iscsi_outstanding_find(is, bhsdi->bhsdi_initiator_task_tag); |