diff options
author | Simon Glass <sjg@chromium.org> | 2017-06-14 21:28:23 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2017-07-11 10:08:19 -0600 |
commit | a6fb185c70d8ac455ed16d3bae23c3727db07116 (patch) | |
tree | da561577998fc6ab82be60f43ae79d6271f557d9 /include/scsi.h | |
parent | b8beb6b463676f586a5481993590cd8a6e8c5855 (diff) | |
download | u-boot-a6fb185c70d8ac455ed16d3bae23c3727db07116.tar.gz u-boot-a6fb185c70d8ac455ed16d3bae23c3727db07116.tar.bz2 u-boot-a6fb185c70d8ac455ed16d3bae23c3727db07116.zip |
scsi: Drop scsi_print_error()
This function is only defined by one driver and is empty. Move it into
the SCSI implementation itself. We could remove it, but it should be
useful for debugging.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'include/scsi.h')
-rw-r--r-- | include/scsi.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/scsi.h b/include/scsi.h index 190dacd0f2..621d9382fc 100644 --- a/include/scsi.h +++ b/include/scsi.h @@ -163,7 +163,6 @@ typedef struct SCSI_cmd_block{ * decleration of functions which have to reside in the LowLevel Part Driver */ -void scsi_print_error(ccb *pccb); int scsi_exec(ccb *pccb); void scsi_bus_reset(void); #if !defined(CONFIG_DM_SCSI) |