diff options
author | Kevin Wolf | 2021-03-11 17:42:53 +0100 |
---|---|---|
committer | Kevin Wolf | 2021-03-19 10:18:17 +0100 |
commit | f3b70e0779c84a5c220ca67610b27cbe672d986a (patch) | |
tree | a10f6efa94044965d1c1139d2506b49c56a3f0c5 /qom/object_interfaces.c | |
parent | char: Deprecate backend aliases 'tty' and 'parport' (diff) | |
download | qemu-f3b70e0779c84a5c220ca67610b27cbe672d986a.tar.gz qemu-f3b70e0779c84a5c220ca67610b27cbe672d986a.tar.xz qemu-f3b70e0779c84a5c220ca67610b27cbe672d986a.zip |
char: Simplify chardev_name_foreach()
Both callers use callbacks that don't do anything when they are called
for CLI aliases. Instead of passing the cli_alias parameter, just don't
call the callbacks for aliases in the first place.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20210311164253.338723-4-kwolf@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qom/object_interfaces.c')
0 files changed, 0 insertions, 0 deletions