diff options
author | Kevin Wolf <kwolf@redhat.com> | 2021-03-11 17:42:53 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2021-03-19 10:18:17 +0100 |
commit | f3b70e0779c84a5c220ca67610b27cbe672d986a (patch) | |
tree | a10f6efa94044965d1c1139d2506b49c56a3f0c5 /qom | |
parent | 5965243641d797b2270082c5a4eab49cb81fc8f0 (diff) |
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')
0 files changed, 0 insertions, 0 deletions