habanalabs: gaudi_ctx_fini() can be static
authorkernel test robot <lkp@intel.com>
Thu, 19 Nov 2020 04:25:43 +0000 (12:25 +0800)
committerOded Gabbay <ogabbay@kernel.org>
Mon, 30 Nov 2020 08:47:36 +0000 (10:47 +0200)
Make a function in gaudi.c to be static

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/misc/habanalabs/gaudi/gaudi.c

index 7325590531333248f947f496d861d9e06384f4bf..c99ad8d65deafac62c81dfcd8ac116745ceeba39 100644 (file)
@@ -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;