scsi: aic7xxx: remove unused redundant variable num_chip_names

Variable num_chip_names is defined but not used, hence it is redundant and can
be removed.

Cleans up clang warning:
'num_chip_names' defined but not used [-Wunused-const-variable=]

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
Colin Ian King 2018-09-04 15:36:56 +01:00 committed by Martin K. Petersen
parent 5b075efb42
commit aed922fa73
2 changed files with 0 additions and 2 deletions

View File

@ -52,7 +52,6 @@ static const char *const ahd_chip_names[] =
"aic7902", "aic7902",
"aic7901A" "aic7901A"
}; };
static const u_int num_chip_names = ARRAY_SIZE(ahd_chip_names);
/* /*
* Hardware error codes. * Hardware error codes.

View File

@ -61,7 +61,6 @@ static const char *const ahc_chip_names[] = {
"aic7892", "aic7892",
"aic7899" "aic7899"
}; };
static const u_int num_chip_names = ARRAY_SIZE(ahc_chip_names);
/* /*
* Hardware error codes. * Hardware error codes.