mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-01-03 12:24:18 -05:00
habanalabs: goya_ctx_init() can be static
Signed-off-by: kernel test robot <lkp@intel.com> Link: https://lore.kernel.org/r/20200729000313.GA14680@e442e3f624c4 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
7b16a15524
commit
bb34bf798c
@@ -6272,7 +6272,7 @@ static enum hl_device_hw_state gaudi_get_hw_state(struct hl_device *hdev)
|
||||
return RREG32(mmHW_STATE);
|
||||
}
|
||||
|
||||
int gaudi_ctx_init(struct hl_ctx *ctx)
|
||||
static int gaudi_ctx_init(struct hl_ctx *ctx)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -5225,7 +5225,7 @@ static enum hl_device_hw_state goya_get_hw_state(struct hl_device *hdev)
|
||||
return RREG32(mmHW_STATE);
|
||||
}
|
||||
|
||||
int goya_ctx_init(struct hl_ctx *ctx)
|
||||
static int goya_ctx_init(struct hl_ctx *ctx)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user