diff options
| author | Dominique Martinet <asmadeus@codewreck.org> | 2025-10-31 16:40:07 +0900 |
|---|---|---|
| committer | Dominique Martinet <asmadeus@codewreck.org> | 2025-11-03 16:49:29 +0900 |
| commit | eeaf38a798aff6384983e5a0ac464d146de7ff55 (patch) | |
| tree | 82fc1d212475f87d55f7d60bb72a7841a59d9561 /net/9p/trans_virtio.c | |
| parent | e21d451a82f39e91b7635c4fc3ff5ac082873ec3 (diff) | |
net/9p: cleanup: change p9_trans_module->def to bool
'->def' is only ever used as a true/false flag
Reported-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Message-ID: <20251103-v9fs_trans_def_bool-v1-1-f33dc7ed9e81@codewreck.org>
Signed-off-by: Dominique Martinet <asmadeus@codewreck.org>
Diffstat (limited to 'net/9p/trans_virtio.c')
| -rw-r--r-- | net/9p/trans_virtio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/9p/trans_virtio.c b/net/9p/trans_virtio.c index 12806207f4f0..b58f50b00c72 100644 --- a/net/9p/trans_virtio.c +++ b/net/9p/trans_virtio.c @@ -802,7 +802,7 @@ static struct p9_trans_module p9_virtio_trans = { */ .maxsize = PAGE_SIZE * (VIRTQUEUE_NUM - 3), .pooled_rbuffers = false, - .def = 1, + .def = true, .supports_vmalloc = false, .owner = THIS_MODULE, }; |
