summaryrefslogtreecommitdiffstats
path: root/sys/cam
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2013-04-14 10:14:26 +0000
committermav <mav@FreeBSD.org>2013-04-14 10:14:26 +0000
commitdbf6d138beaf0a6589c82642a55b7026c95053ea (patch)
treecd6b85b2c910c48b0cef24fc0bd8f9424aad1cf0 /sys/cam
parent3d32e6b10c85bbbaea953937412778787bba3629 (diff)
downloadFreeBSD-src-dbf6d138beaf0a6589c82642a55b7026c95053ea.zip
FreeBSD-src-dbf6d138beaf0a6589c82642a55b7026c95053ea.tar.gz
Remove owner field from struct cam_ed, unused at least since FreeBSD 7.
Diffstat (limited to 'sys/cam')
-rw-r--r--sys/cam/cam_xpt.c1
-rw-r--r--sys/cam/cam_xpt_internal.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/sys/cam/cam_xpt.c b/sys/cam/cam_xpt.c
index 245a565..172b225 100644
--- a/sys/cam/cam_xpt.c
+++ b/sys/cam/cam_xpt.c
@@ -4428,7 +4428,6 @@ xpt_alloc_device(struct cam_eb *bus, struct cam_et *target, lun_id_t lun_id)
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;
diff --git a/sys/cam/cam_xpt_internal.h b/sys/cam/cam_xpt_internal.h
index 6d2aecc..f58d120 100644
--- a/sys/cam/cam_xpt_internal.h
+++ b/sys/cam/cam_xpt_internal.h
@@ -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;
OpenPOWER on IntegriCloud