habanalabs: remove condition that is always true
authorDalit Ben Zoor <dbenzoor@habana.ai>
Wed, 1 May 2019 10:24:58 +0000 (13:24 +0300)
committerOded Gabbay <oded.gabbay@gmail.com>
Wed, 1 May 2019 10:24:58 +0000 (13:24 +0300)
commitf0539fb0fb5fcb595bbb46dfe88c97e825f29f1f
tree65fb0c4ac0a46f697c8c03917fd0130c3f860efe
parent5809e18e028218c006011dbbfe30429eaf4bb29b
habanalabs: remove condition that is always true

After removing the parsing of the command submission
when doing memset of the device memory, goya_validate_dma_pkt_host
is never called by the kernel, so there is no need to check
context id.

Signed-off-by: Dalit Ben Zoor <dbenzoor@habana.ai>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
drivers/misc/habanalabs/goya/goya.c