scsi: a100u2w: Remove unused variable biosaddr
The variable biosaddr is being assigned a value that is never read, the variable is redundant and can be safely removed. Link: https://lore.kernel.org/r/20210325170731.484651-1-colin.king@canonical.com Addresses-Coverity: ("Unused value") Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
6bfe9855da
commit
92b4c52c43
@ -1088,7 +1088,6 @@ static int inia100_probe_one(struct pci_dev *pdev,
|
||||
unsigned long port, bios;
|
||||
int error = -ENODEV;
|
||||
u32 sz;
|
||||
unsigned long biosaddr;
|
||||
|
||||
if (pci_enable_device(pdev))
|
||||
goto out;
|
||||
@ -1138,8 +1137,6 @@ static int inia100_probe_one(struct pci_dev *pdev,
|
||||
goto out_free_scb_array;
|
||||
}
|
||||
|
||||
biosaddr = host->BIOScfg;
|
||||
biosaddr = (biosaddr << 4);
|
||||
if (init_orchid(host)) { /* Initialize orchid chip */
|
||||
printk("inia100: initial orchid fail!!\n");
|
||||
goto out_free_escb_array;
|
||||
|
Loading…
Reference in New Issue
Block a user