]> git.proxmox.com Git - mirror_iproute2.git/commit
devlink: Replace pr_out_bool/uint() wrappers with common print functions
authorRon Diskin <rondi@mellanox.com>
Thu, 23 Jan 2020 10:32:31 +0000 (12:32 +0200)
committerStephen Hemminger <stephen@networkplumber.org>
Mon, 27 Jan 2020 13:43:54 +0000 (05:43 -0800)
commitff360fe98432f05f10a7f6ad8854563b9b728df7
treea42018b9f4a52f09d778ac61a54689142d2274af
parent5a71671a94572af4c4092e2d91f8d6d384345e0c
devlink: Replace pr_out_bool/uint() wrappers with common print functions

Replace calls for pr_out_bool() and pr_out_uint() with direct calls
to common json_print library function print_bool() and print_uint().

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