From 293744d92c87d50d0b4af89a2459fbd61741ff5e Mon Sep 17 00:00:00 2001 From: kernel test robot Date: Thu, 19 Nov 2020 12:25:43 +0800 Subject: [PATCH] habanalabs: gaudi_ctx_fini() can be static Make a function in gaudi.c to be static Reported-by: kernel test robot Signed-off-by: kernel test robot Reviewed-by: Oded Gabbay Signed-off-by: Oded Gabbay --- drivers/misc/habanalabs/gaudi/gaudi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/misc/habanalabs/gaudi/gaudi.c b/drivers/misc/habanalabs/gaudi/gaudi.c index 732559053133..c99ad8d65dea 100644 --- a/drivers/misc/habanalabs/gaudi/gaudi.c +++ b/drivers/misc/habanalabs/gaudi/gaudi.c @@ -7902,7 +7902,7 @@ static int gaudi_ctx_init(struct hl_ctx *ctx) return gaudi_internal_cb_pool_init(ctx->hdev, ctx); } -void gaudi_ctx_fini(struct hl_ctx *ctx) +static void gaudi_ctx_fini(struct hl_ctx *ctx) { struct hl_device *hdev = ctx->hdev;