mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 16:54:20 +08:00
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:
parent
5b075efb42
commit
aed922fa73
@ -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.
|
||||||
|
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user