linux-stable/drivers/misc/habanalabs
Wei Yongjun 22362aa30b habanalabs: remove unused but set variable 'ctx_asid'
Gcc report warning as follows:

drivers/misc/habanalabs/common/command_submission.c:373:6: warning:
 variable 'ctx_asid' set but not used [-Wunused-but-set-variable]
  373 |  int ctx_asid, rc;
      |      ^~~~~~~~

This variable is not used in function cs_timedout(), this commit
remove it to fix the warning.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Link: https://lore.kernel.org/r/20200729155902.33976-1-weiyongjun1@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-07-29 18:02:21 +02:00
..
common habanalabs: remove unused but set variable 'ctx_asid' 2020-07-29 18:02:21 +02:00
gaudi habanalabs: goya_ctx_init() can be static 2020-07-29 09:46:05 +02:00
goya habanalabs: goya_ctx_init() can be static 2020-07-29 09:46:05 +02:00
include habanalabs: update hl_boot_if.h from firmware 2020-07-24 20:31:37 +03:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile habanalabs: create common folder 2020-07-24 20:31:37 +03:00