svn commit: r249537 - projects/camlock/sys/cam

Alexander Motin mav at FreeBSD.org
Tue Apr 16 07:02:13 UTC 2013


Author: mav
Date: Tue Apr 16 07:02:13 2013
New Revision: 249537
URL: http://svnweb.freebsd.org/changeset/base/249537

Log:
  Remove ccb_list from struct periph, unused after r249512.

Modified:
  projects/camlock/sys/cam/cam_periph.c
  projects/camlock/sys/cam/cam_periph.h

Modified: projects/camlock/sys/cam/cam_periph.c
==============================================================================
--- projects/camlock/sys/cam/cam_periph.c	Tue Apr 16 06:53:20 2013	(r249536)
+++ projects/camlock/sys/cam/cam_periph.c	Tue Apr 16 07:02:13 2013	(r249537)
@@ -205,7 +205,6 @@ cam_periph_alloc(periph_ctor_t *periph_c
 	periph->refcount = 0;
 	periph->sim = sim;
 	mtx_init(&periph->periph_mtx, "CAM periph lock", NULL, MTX_DEF);
-	SLIST_INIT(&periph->ccb_list);
 	status = xpt_create_path(&path, periph, path_id, target_id, lun_id);
 	if (status != CAM_REQ_CMP)
 		goto failure;

Modified: projects/camlock/sys/cam/cam_periph.h
==============================================================================
--- projects/camlock/sys/cam/cam_periph.h	Tue Apr 16 06:53:20 2013	(r249536)
+++ projects/camlock/sys/cam/cam_periph.h	Tue Apr 16 07:02:13 2013	(r249537)
@@ -122,7 +122,6 @@ struct cam_periph {
 #define CAM_PERIPH_RECOVERY_INPROG	0x20
 #define CAM_PERIPH_FREE			0x80
 	u_int32_t		 refcount;
-	SLIST_HEAD(, ccb_hdr)	 ccb_list;	/* For "immediate" requests */
 	SLIST_ENTRY(cam_periph)  periph_links;
 	TAILQ_ENTRY(cam_periph)  unit_links;
 	ac_callback_t		*deferred_callback; 


More information about the svn-src-projects mailing list