svn commit: r249010 - projects/camlock/sys/cam
Alexander Motin
mav at FreeBSD.org
Tue Apr 2 09:44:13 UTC 2013
Author: mav
Date: Tue Apr 2 09:44:12 2013
New Revision: 249010
URL: http://svnweb.freebsd.org/changeset/base/249010
Log:
Remove owner field from struct cam_ed, unused at least since FreeBSD 7.
Modified:
projects/camlock/sys/cam/cam_xpt.c
projects/camlock/sys/cam/cam_xpt_internal.h
Modified: projects/camlock/sys/cam/cam_xpt.c
==============================================================================
--- projects/camlock/sys/cam/cam_xpt.c Tue Apr 2 09:42:42 2013 (r249009)
+++ projects/camlock/sys/cam/cam_xpt.c Tue Apr 2 09:44:12 2013 (r249010)
@@ -4479,7 +4479,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: projects/camlock/sys/cam/cam_xpt_internal.h
==============================================================================
--- projects/camlock/sys/cam/cam_xpt_internal.h Tue Apr 2 09:42:42 2013 (r249009)
+++ projects/camlock/sys/cam/cam_xpt_internal.h Tue Apr 2 09:44:12 2013 (r249010)
@@ -84,7 +84,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-projects
mailing list