aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2026-06-24 16:54:20 +0000
committerMark Johnston <markj@FreeBSD.org>2026-06-24 17:26:39 +0000
commit94989248641a17f5c2afc367df4845e4113779a1 (patch)
treed3187f4385561053155fc9dabf883b1bc42ac83c /sys/dev
parent2586f9f459adc6610957ba0d74a167b85fe24ac7 (diff)
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/virtio/p9fs/virtio_p9fs.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/dev/virtio/p9fs/virtio_p9fs.c b/sys/dev/virtio/p9fs/virtio_p9fs.c
index e5fef9e57f1d..7a5d703513c0 100644
--- a/sys/dev/virtio/p9fs/virtio_p9fs.c
+++ b/sys/dev/virtio/p9fs/virtio_p9fs.c
@@ -86,13 +86,6 @@ static struct virtio_feature_desc virtio_9p_feature_desc[] = {
VIRTIO_SIMPLE_PNPINFO(virtio_p9fs, VIRTIO_ID_9P, "VirtIO 9P Transport");
-/* We don't currently allow canceling of virtio requests */
-static int
-vt9p_cancel(void *handle, struct p9_req_t *req)
-{
- return (1);
-}
-
SYSCTL_NODE(_vfs, OID_AUTO, 9p, CTLFLAG_RW, 0, "9P File System Protocol");
/*
@@ -443,7 +436,6 @@ static struct p9_trans_module vt9p_trans = {
.create = vt9p_create,
.close = vt9p_close,
.request = vt9p_request,
- .cancel = vt9p_cancel,
};
static device_method_t vt9p_mthds[] = {