mirror of
https://github.com/torvalds/linux.git
synced 2026-06-01 19:13:47 +02:00
habanalabs/gaudi: remove redundant assignment to variable err
The variable err is being assigned a value that is never read, the
assignment is redundant and can be removed. Also remove some empty
lines.
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Addresses-Coverity: ("Unused value")
Link: https://lore.kernel.org/r/20210603131210.84763-1-colin.king@canonical.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
8923557bd5
commit
432b6c5607
|
|
@ -7379,9 +7379,6 @@ static int gaudi_hbm_read_interrupts(struct hl_device *hdev, int device,
|
|||
device, ch, hbm_ecc_data->first_addr, type,
|
||||
hbm_ecc_data->sec_cont_cnt, hbm_ecc_data->sec_cnt,
|
||||
hbm_ecc_data->dec_cnt);
|
||||
|
||||
err = 1;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user