mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-12-29 17:25:38 +00:00
scsi: core: Remove obsoleted declaration for scsi_driverbyte_string()
scsi_driverbyte_string() has been unused since commit 54c2908619
("scsi:
core: Drop the now obsolete driver_byte definitions"). Remove it.
Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com>
Link: https://lore.kernel.org/r/20240826032005.4007834-1-cuigaosheng1@huawei.com
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
adedd0f46c
commit
3e3ac9c39e
@ -24,7 +24,6 @@ extern const char *scsi_extd_sense_format(unsigned char, unsigned char,
|
||||
const char **);
|
||||
extern const char *scsi_mlreturn_string(int);
|
||||
extern const char *scsi_hostbyte_string(int);
|
||||
extern const char *scsi_driverbyte_string(int);
|
||||
#else
|
||||
static inline bool
|
||||
scsi_opcode_sa_name(int cmd, int sa,
|
||||
@ -76,12 +75,6 @@ scsi_hostbyte_string(int result)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
static inline const char *
|
||||
scsi_driverbyte_string(int result)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
#endif /* _SCSI_SCSI_DBG_H */
|
||||
|
Loading…
Reference in New Issue
Block a user