]> git.proxmox.com Git - mirror_qemu.git/commit
cryptodev: use NULL throttle timer cb for read direction
authorzhenwei pi <pizhenwei@bytedance.com>
Fri, 28 Jul 2023 02:20:02 +0000 (10:20 +0800)
committerHanna Czenczek <hreitz@redhat.com>
Tue, 29 Aug 2023 08:49:24 +0000 (10:49 +0200)
commit27cf12298a2e3cb168880b6c7a36ea8cfbd8afb0
treed0e1a5b8544d1bf39324222b234ab98c6f31cf8e
parent02add531e1aa71bafb8185142bfc12e8c714b323
cryptodev: use NULL throttle timer cb for read direction

Operations on a cryptodev are considered as *write* only, the callback
of read direction is never invoked. Use NULL instead of an unreachable
path(cryptodev_backend_throttle_timer_cb on read direction).

The dummy read timer(never invoked) is already removed here, it means
that the 'FIXME' tag is no longer needed.

Reviewed-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Hanna Czenczek <hreitz@redhat.com>
Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>
Message-Id: <20230728022006.1098509-6-pizhenwei@bytedance.com>
Signed-off-by: Hanna Czenczek <hreitz@redhat.com>
backends/cryptodev.c