]> 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)
commit9da67a8920baccaa89eeb1817d524e7cd269c3e8
tree6b50234d98715012d59f7290d7294c713330fe87
parent3e2a479acb231c37f692edae7c10cc9e85bc3090
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