Message ID | 20240826032005.4007834-1-cuigaosheng1@huawei.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | [-next] scsi: core: Remove obsoleted declaration for scsi_driverbyte_string | expand |
On 8/25/24 11:20 PM, Gaosheng Cui wrote: > 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. Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Gaosheng, > 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. Applied to 6.12/scsi-staging, thanks!
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 */
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@huawei.com> --- include/scsi/scsi_dbg.h | 7 ------- 1 file changed, 7 deletions(-)