linux/drivers/accel/habanalabs
Tom Rix c7d7b9aca2 habanalabs: remove redundant memset
From reviewing the code, the line
  memset(kdata, 0, usize);
is not needed because kdata is either zeroed by
  kdata = kzalloc(asize, GFP_KERNEL);
when allocated at runtime or by
  char stack_kdata[128] = {0};
at compile time.

Signed-off-by: Tom Rix <trix@redhat.com>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
2023-01-26 11:52:11 +02:00
..
common habanalabs: remove redundant memset 2023-01-26 11:52:11 +02:00
gaudi habanalabs/gaudi: allow device acquire while in debug mode 2023-01-26 11:52:11 +02:00
gaudi2 habanalabs/gaudi2: avoid reconfiguring the same PB registers 2023-01-26 11:52:11 +02:00
goya
include habanalabs/gaudi2: avoid reconfiguring the same PB registers 2023-01-26 11:52:11 +02:00
Kconfig
Makefile