mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-11-25 16:33:36 +00:00
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>
|
||
|---|---|---|
| .. | ||
| asid.c | ||
| command_buffer.c | ||
| command_submission.c | ||
| context.c | ||
| debugfs.c | ||
| device.c | ||
| firmware_if.c | ||
| habanalabs_drv.c | ||
| habanalabs_ioctl.c | ||
| habanalabs.h | ||
| hw_queue.c | ||
| hwmon.c | ||
| irq.c | ||
| Makefile | ||
| memory.c | ||
| mmu.c | ||
| pci.c | ||
| sysfs.c | ||