Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Apr 2013 10:14:27 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r249470 - head/sys/cam
Message-ID:  <201304141014.r3EAERjD032100@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



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