[PATCH] scsi: arm: cumana_1.c: Remove unused function

Rickard Strandqvist rickard_strandqvist at spectrumdigital.se
Sat Dec 20 08:36:15 PST 2014


Remove the function cumanascsi_setup() that is not used anywhere.

This was partially found by using a static code analysis program called cppcheck.

Signed-off-by: Rickard Strandqvist <rickard_strandqvist at spectrumdigital.se>
---
 drivers/scsi/arm/cumana_1.c |    4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/scsi/arm/cumana_1.c b/drivers/scsi/arm/cumana_1.c
index 8ef810a..7c90d9c 100644
--- a/drivers/scsi/arm/cumana_1.c
+++ b/drivers/scsi/arm/cumana_1.c
@@ -38,10 +38,6 @@
 
 #include "../NCR5380.h"
 
-void cumanascsi_setup(char *str, int *ints)
-{
-}
-
 const char *cumanascsi_info(struct Scsi_Host *spnt)
 {
 	return "";
-- 
1.7.10.4




More information about the linux-arm-kernel mailing list