diff options
author | jimharris <jimharris@FreeBSD.org> | 2013-06-26 23:37:11 +0000 |
---|---|---|
committer | jimharris <jimharris@FreeBSD.org> | 2013-06-26 23:37:11 +0000 |
commit | b86441f01bc7663535df2b9b367d150f311b9d78 (patch) | |
tree | d29929e26dfbea655f0b2a883d9d5e24fbc22763 /sys/dev/nvme/nvme_private.h | |
parent | cd28dd275bc9135d64078d916158ede6edf72de1 (diff) | |
download | FreeBSD-src-b86441f01bc7663535df2b9b367d150f311b9d78.zip FreeBSD-src-b86441f01bc7663535df2b9b367d150f311b9d78.tar.gz |
Remove remaining uio-related code.
The nvme_physio() function was removed quite a while ago, which was the
only user of this uio-related code.
Sponsored by: Intel
MFC after: 3 days
Diffstat (limited to 'sys/dev/nvme/nvme_private.h')
-rw-r--r-- | sys/dev/nvme/nvme_private.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/sys/dev/nvme/nvme_private.h b/sys/dev/nvme/nvme_private.h index ecc8b34..ae70503 100644 --- a/sys/dev/nvme/nvme_private.h +++ b/sys/dev/nvme/nvme_private.h @@ -145,7 +145,6 @@ struct nvme_request { struct nvme_qpair *qpair; union { void *payload; - struct uio *uio; struct bio *bio; } u; uint32_t type; @@ -469,8 +468,6 @@ int nvme_ns_construct(struct nvme_namespace *ns, uint16_t id, struct nvme_controller *ctrlr); void nvme_ns_destruct(struct nvme_namespace *ns); -int nvme_ns_physio(struct cdev *dev, struct uio *uio, int ioflag); - void nvme_sysctl_initialize_ctrlr(struct nvme_controller *ctrlr); void nvme_dump_command(struct nvme_command *cmd); @@ -525,19 +522,6 @@ nvme_allocate_request_null(nvme_cb_fn_t cb_fn, void *cb_arg) } static __inline struct nvme_request * -nvme_allocate_request_uio(struct uio *uio, nvme_cb_fn_t cb_fn, void *cb_arg) -{ - struct nvme_request *req; - - req = _nvme_allocate_request(cb_fn, cb_arg); - if (req != NULL) { - req->type = NVME_REQUEST_UIO; - req->u.uio = uio; - } - return (req); -} - -static __inline struct nvme_request * nvme_allocate_request_bio(struct bio *bio, nvme_cb_fn_t cb_fn, void *cb_arg) { struct nvme_request *req; |