From d442caf633e65d2a42a8fcad4adb81ccaabccfdb Mon Sep 17 00:00:00 2001 From: Alexander Motin Date: Sun, 14 Apr 2013 10:14:26 +0000 Subject: [PATCH] Remove owner field from struct cam_ed, unused at least since FreeBSD 7. --- sys/cam/cam_xpt.c | 1 - sys/cam/cam_xpt_internal.h | 1 - 2 files changed, 2 deletions(-) diff --git a/sys/cam/cam_xpt.c b/sys/cam/cam_xpt.c index 245a5657aea..172b2254729 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 6d2aeccce46..f58d120cb6c 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;