]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
scsi: core: Remove obsoleted declaration for scsi_driverbyte_string()
authorGaosheng Cui <cuigaosheng1@huawei.com>
Mon, 26 Aug 2024 03:20:05 +0000 (11:20 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 29 Aug 2024 01:03:11 +0000 (21:03 -0400)
scsi_driverbyte_string() has been unused since commit 54c29086195f ("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>
include/scsi/scsi_dbg.h

index 7b196d23462646364e01d896b2c43cae2d755b35..bd29cdb513a5fd5d4ba9eb4c9bc78f89e8979dfd 100644 (file)
@@ -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 */