]> git.proxmox.com Git - mirror_iproute2.git/commit
devlink: Replace pr_#type_value wrapper functions with common functions
authorRon Diskin <rondi@mellanox.com>
Thu, 23 Jan 2020 10:32:30 +0000 (12:32 +0200)
committerStephen Hemminger <stephen@networkplumber.org>
Mon, 27 Jan 2020 13:43:54 +0000 (05:43 -0800)
commit5a71671a94572af4c4092e2d91f8d6d384345e0c
treea02bbb78e724173bf84a008c60fd120b46d63f6a
parent3666eb0eb65ba0cac0121d9f6e373647cc144e1a
devlink: Replace pr_#type_value wrapper functions with common functions

Replace calls for pr_bool/uint/uint64_value with direct calls for the
matching common json_print library function: print_bool(), print_uint()
and print_u64()

Signed-off-by: Ron Diskin <rondi@mellanox.com>
Reviewed-by: Moshe Shemesh <moshe@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
devlink/devlink.c