scsi: a100u2w: Remove useless variable
PATCH v2 1/1 scsi: a100u2w: Remove useless variable
Fix the following gcc warning:
drivers/scsi/a100u2w.c:1092:8: warning: variable ‘bios_phys’ set but not used [-Wunused-but-set-variable].
Reported-by Abaci Robot <[email protected]>
Signed-off-by Jiapeng Chong <[email protected]>
---
Changes in v2:
- Delete phys_to_virt().
drivers/scsi/a100u2w.c | 2 -- 1 file changed, 2 deletions(-)
drivers/scsi/a100u2w.c +0 -2
@@ -1089,7 +1089,6 @@ static int inia100_probe_one(struct pci_dev *pdev,int error = -ENODEV ;u32 sz;unsigned long biosaddr; -char *bios_phys;if (pci_enable_device (pdev)) goto out;
@@ -1141,7 +1140,6 @@ static int inia100_probe_one(struct pci_dev *pdev, biosaddr = host->BIOScfg; biosaddr = (biosaddr <<4 ); - bios_phys =phys_to_virt (biosaddr);if (init_orchid (host)) {/* Initialize orchid chip */ printk ("inia100: initial orchid fail!!\n" ); goto out_free_escb_array;
Signature · 1 line
1.8.3.1