2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-11 07:04:04 +08:00

habanalabs: gaudi_ctx_fini() can be static

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>
This commit is contained in:
kernel test robot 2020-11-19 12:25:43 +08:00 committed by Oded Gabbay
parent 2a570736ef
commit 293744d92c

View 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;