]> git.baikalelectronics.ru Git - 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)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 20 Nov 2015 16:39:03 +0000 (11:39 -0500)
commit8c5ac83232e83a643dfb72cbb01fd6348c8a61de
tree6b50234d98715012d59f7290d7294c713330fe87
parentcd5406bbdc11dcc12aa06a8ef952ce0e823f984e
SCSI: initio: remove duplicate module device table

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: f035d9270c7 ("[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>
drivers/scsi/initio.c