summaryrefslogtreecommitdiff
path: root/include/scsi.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-06-14 21:28:23 -0600
committerSimon Glass <sjg@chromium.org>2017-07-11 10:08:19 -0600
commita6fb185c70d8ac455ed16d3bae23c3727db07116 (patch)
treeda561577998fc6ab82be60f43ae79d6271f557d9 /include/scsi.h
parentb8beb6b463676f586a5481993590cd8a6e8c5855 (diff)
downloadu-boot-a6fb185c70d8ac455ed16d3bae23c3727db07116.tar.gz
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.h1
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)