diff options
author | Colin Ian King <colin.king@canonical.com> | 2021-03-25 17:07:31 +0000 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-03-29 23:33:06 -0400 |
commit | 92b4c52c43e1309368bc858a56b4e5d6db159d99 (patch) | |
tree | bdd55336e83b83f80fcbfe702effcad9ff52181f /drivers | |
parent | 6bfe9855daa3e952faca691dbb2895c523c81b36 (diff) | |
download | linux-92b4c52c43e1309368bc858a56b4e5d6db159d99.tar.bz2 |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/scsi/a100u2w.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/scsi/a100u2w.c b/drivers/scsi/a100u2w.c index c9ed210d77b3..028af6b1057c 100644 --- a/drivers/scsi/a100u2w.c +++ b/drivers/scsi/a100u2w.c @@ -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; |