commit | f3b70e0779c84a5c220ca67610b27cbe672d986a | [log] [tgz] |
---|---|---|
author | Kevin Wolf <kwolf@redhat.com> | Thu Mar 11 17:42:53 2021 +0100 |
committer | Kevin Wolf <kwolf@redhat.com> | Fri Mar 19 10:18:17 2021 +0100 |
tree | a10f6efa94044965d1c1139d2506b49c56a3f0c5 | |
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>