]> git.proxmox.com Git - mirror_iproute2.git/blobdiff - rdma/utils.c
lib: json_print: Add print_on_off()
[mirror_iproute2.git] / rdma / utils.c
index 4d3de4fadba2e5deb5a496988bae6486a5f0ef0d..2a201aa4aeb7fa86f78c368ab6ecc0e9a2f2be65 100644 (file)
@@ -781,11 +781,6 @@ static int print_driver_string(struct rd *rd, const char *key_str,
        return 0;
 }
 
-void print_on_off(struct rd *rd, const char *key_str, bool on)
-{
-       print_driver_string(rd, key_str, (on) ? "on":"off");
-}
-
 static int print_driver_s32(struct rd *rd, const char *key_str, int32_t val,
                              enum rdma_nldev_print_type print_type)
 {