diff options
author | kernel test robot <lkp@intel.com> | 2020-11-19 12:25:43 +0800 |
---|---|---|
committer | Oded Gabbay <ogabbay@kernel.org> | 2020-11-30 10:47:36 +0200 |
commit | 293744d92c87d50d0b4af89a2459fbd61741ff5e (patch) | |
tree | 45a331048b84547ddbdc42d050461e5a41eb93c1 /drivers/misc/habanalabs | |
parent | 2a570736ef3977a8c4d53e2da1861d4f88c0ecdd (diff) |
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>
Diffstat (limited to 'drivers/misc/habanalabs')
-rw-r--r-- | drivers/misc/habanalabs/gaudi/gaudi.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |