Subject: [PATCH iproute2-next 08/10] rdma: Rename free function to be rd_cleanup

From: Leon Romanovsky <[email-masked]>
Date: Wed, 27 Dec 2017 09:57:57 +0200

From: Leon Romanovsky <[email-masked]>

Signed-off-by: Leon Romanovsky <[email-masked]>
---
 rdma/rdma.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rdma/rdma.c b/rdma/rdma.c
index f9f4f2a2..a05a2fb6 100644
--- a/rdma/rdma.c
+++ b/rdma/rdma.c
@@ -70,7 +70,7 @@ static int rd_init(struct rd *rd, int argc, char **argv, char *filename)
 	return rd_recv_msg(rd, rd_dev_init_cb, rd, seq);
 }
 
-static void rd_free(struct rd *rd)
+static void rd_cleanup(struct rd *rd)
 {
 	if (rd->json_output)
 		jsonw_destroy(&rd->jw);
@@ -138,6 +138,6 @@ int main(int argc, char **argv)
 	err = rd_cmd(&rd);
 out:
 	/* Always cleanup */
-	rd_free(&rd);
+	rd_cleanup(&rd);
 	return err ? EXIT_FAILURE : EXIT_SUCCESS;
 }
-- 
2.15.1