]> asedeno.scripts.mit.edu Git - linux.git/commit
habanalabs: remove variable 'val' set but not used
authorChen Wandun <chenwandun@huawei.com>
Tue, 10 Dec 2019 11:06:56 +0000 (19:06 +0800)
committerOded Gabbay <oded.gabbay@gmail.com>
Sat, 14 Dec 2019 13:12:21 +0000 (15:12 +0200)
commit68a1fdf2451f38b4ada0607eb6e1303f8a02e0b7
tree3bc75518deeea0d0f22fbce5a0e3d74c44d7a205
parent018e0e3594f7dcd029d258e368c485e742fa9cdb
habanalabs: remove variable 'val' set but not used

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/misc/habanalabs/goya/goya.c: In function goya_pldm_init_cpu:
drivers/misc/habanalabs/goya/goya.c:2195:6: warning: variable val set but not used [-Wunused-but-set-variable]
drivers/misc/habanalabs/goya/goya.c: In function goya_hw_init:
drivers/misc/habanalabs/goya/goya.c:2505:6: warning: variable val set but not used [-Wunused-but-set-variable]

Fixes: 9494a8dd8d22 ("habanalabs: add h/w queues module")
Signed-off-by: Chen Wandun <chenwandun@huawei.com>
Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
drivers/misc/habanalabs/goya/goya.c