OSDN Git Service

habanalabs: remove redundant memory clear
authorOded Gabbay <oded.gabbay@gmail.com>
Wed, 8 May 2019 22:47:01 +0000 (01:47 +0300)
committerOded Gabbay <oded.gabbay@gmail.com>
Wed, 8 May 2019 22:47:01 +0000 (01:47 +0300)
commit1f2c999bbca31c1f0bbbe69a75f3489f60cce05d
tree9a625063b4fee2cb17d46ecc639842459c86f183
parentcbe722e41684930c485fd09a161de44e444731f6
habanalabs: remove redundant memory clear

The driver allocates memory for fence object with GFP_ZERO flag, so there
is no need to explicitly write 0 to the allocated object after the
allocation.

Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
drivers/misc/habanalabs/goya/goya.c