svn commit: r249470 - head/sys/cam

Alexander Motin mav at FreeBSD.org
Sun Apr 14 10:14:27 UTC 2013


Author: mav
Date: Sun Apr 14 10:14:26 2013
New Revision: 249470
URL: http://svnweb.freebsd.org/changeset/base/249470

Log:
  Remove owner field from struct cam_ed, unused at least since FreeBSD 7.

Modified:
  head/sys/cam/cam_xpt.c
  head/sys/cam/cam_xpt_internal.h

Modified: head/sys/cam/cam_xpt.c
==============================================================================
--- head/sys/cam/cam_xpt.c	Sun Apr 14 09:59:41 2013	(r249469)
+++ head/sys/cam/cam_xpt.c	Sun Apr 14 10:14:26 2013	(r249470)
@@ -4428,7 +4428,6 @@ xpt_alloc_device(struct cam_eb *bus, str
 	SLIST_INIT(&device->asyncs);
 	SLIST_INIT(&device->periphs);
 	device->generation = 0;
-	device->owner = NULL;
 	device->flags = CAM_DEV_UNCONFIGURED;
 	device->tag_delay_count = 0;
 	device->tag_saved_openings = 0;

Modified: head/sys/cam/cam_xpt_internal.h
==============================================================================
--- head/sys/cam/cam_xpt_internal.h	Sun Apr 14 09:59:41 2013	(r249469)
+++ head/sys/cam/cam_xpt_internal.h	Sun Apr 14 10:14:26 2013	(r249470)
@@ -83,7 +83,6 @@ struct cam_ed {
 	struct	async_list asyncs;	/* Async callback info for this B/T/L */
 	struct	periph_list periphs;	/* All attached devices */
 	u_int	generation;		/* Generation number */
-	struct	cam_periph *owner;	/* Peripheral driver's ownership tag */
 	void		 *quirk;	/* Oddities about this device */
 	u_int		 maxtags;
 	u_int		 mintags;


More information about the svn-src-all mailing list