Skip to content

Commit 3e3ac9c

Browse files
gscuimartinkpetersen
authored andcommitted
scsi: core: Remove obsoleted declaration for scsi_driverbyte_string()
scsi_driverbyte_string() has been unused since commit 54c2908 ("scsi: core: Drop the now obsolete driver_byte definitions"). Remove it. Signed-off-by: Gaosheng Cui <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Bart Van Assche <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
1 parent adedd0f commit 3e3ac9c

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

include/scsi/scsi_dbg.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ extern const char *scsi_extd_sense_format(unsigned char, unsigned char,
2424
const char **);
2525
extern const char *scsi_mlreturn_string(int);
2626
extern const char *scsi_hostbyte_string(int);
27-
extern const char *scsi_driverbyte_string(int);
2827
#else
2928
static inline bool
3029
scsi_opcode_sa_name(int cmd, int sa,
@@ -76,12 +75,6 @@ scsi_hostbyte_string(int result)
7675
return NULL;
7776
}
7877

79-
static inline const char *
80-
scsi_driverbyte_string(int result)
81-
{
82-
return NULL;
83-
}
84-
8578
#endif
8679

8780
#endif /* _SCSI_SCSI_DBG_H */

0 commit comments

Comments
 (0)