The scsi_driverbyte_string() have been removed since commit 54c29086195f ("scsi: core: Drop the now obsolete driver_byte definitions"), and now it is useless, so remove it. Signed-off-by: Gaosheng Cui <cuigaosheng1@xxxxxxxxxx> --- include/scsi/scsi_dbg.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/include/scsi/scsi_dbg.h b/include/scsi/scsi_dbg.h index 7b196d234626..bd29cdb513a5 100644 --- a/include/scsi/scsi_dbg.h +++ b/include/scsi/scsi_dbg.h @@ -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 */ -- 2.25.1