diff options
| author | zhenwei pi <pizhenwei@bytedance.com> | 2023-03-01 18:58:37 +0800 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2023-03-07 12:38:59 -0500 |
| commit | 3f478371fde24778ac09b4f7ffa82b00e87a97ec (patch) | |
| tree | c797aa54fc4446ed6e38b96155599c535d519b25 /backends/cryptodev-lkcf.c | |
| parent | 14c9fd1673ac8c6855a93c882870da8403b5a5d6 (diff) | |
| download | focaccia-qemu-3f478371fde24778ac09b4f7ffa82b00e87a97ec.tar.gz focaccia-qemu-3f478371fde24778ac09b4f7ffa82b00e87a97ec.zip | |
cryptodev: Remove 'name' & 'model' fields
We have already used qapi to generate crypto device types, this allows to convert type to a string 'model', so the 'model' field is not needed. And the 'name' field is not used by any backend driver, drop it. Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Signed-off-by: zhenwei pi <pizhenwei@bytedance.com> Message-Id: <20230301105847.253084-3-pizhenwei@bytedance.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'backends/cryptodev-lkcf.c')
| -rw-r--r-- | backends/cryptodev-lkcf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/cryptodev-lkcf.c b/backends/cryptodev-lkcf.c index 91e02c0df9..de3d1867c5 100644 --- a/backends/cryptodev-lkcf.c +++ b/backends/cryptodev-lkcf.c @@ -223,7 +223,7 @@ static void cryptodev_lkcf_init(CryptoDevBackend *backend, Error **errp) return; } - cc = cryptodev_backend_new_client("cryptodev-lkcf", NULL); + cc = cryptodev_backend_new_client(); cc->info_str = g_strdup_printf("cryptodev-lkcf0"); cc->queue_index = 0; cc->type = QCRYPTODEV_BACKEND_TYPE_LKCF; |