]> git.ipfire.org Git - people/arne_f/kernel.git/commit
SCSI: initio: remove duplicate module device table
authorArnd Bergmann <arnd@arndb.de>
Thu, 19 Nov 2015 14:33:41 +0000 (15:33 +0100)
committerSasha Levin <alexander.levin@microsoft.com>
Sun, 4 Mar 2018 15:28:30 +0000 (10:28 -0500)
commit26c322c9849040b8889227a176a831dc5deda039
tree349b2ab40ad1a5bba050787846eafa43756c05bc
parent6348e66c89e1fcf59a3d8943a16e2829e38e18ea
SCSI: initio: remove duplicate module device table

[ Upstream commit d282e2b383e3f41a7758e8cbf3076091ef9d9447 ]

The initio driver has for many years had two copies of the
same module device table. One of them is also used for registering
the other driver, the other one is entirely useless after the
large scale cleanup that Alan Cox did back in 2007.

The compiler warns about this whenever the driver is built-in:

drivers/scsi/initio.c:131:29: warning: 'i91u_pci_devices' defined but not used [-Wunused-variable]

This removes the extraneous table and the warning.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 72d39fea901 ("[SCSI] initio: Convert into a real Linux driver and update to modern style")
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
drivers/scsi/initio.c