diff options
author | Simon Glass <sjg@chromium.org> | 2017-06-15 06:28:23 +0300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2017-07-11 19:08:19 +0300 |
commit | a6fb185c70d8ac455ed16d3bae23c3727db07116 (patch) | |
tree | da561577998fc6ab82be60f43ae79d6271f557d9 /drivers | |
parent | b8beb6b463676f586a5481993590cd8a6e8c5855 (diff) | |
download | u-boot-a6fb185c70d8ac455ed16d3bae23c3727db07116.tar.xz |
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 'drivers')
-rw-r--r-- | drivers/block/ahci.c | 5 | ||||
-rw-r--r-- | drivers/block/sandbox_scsi.c | 4 |
2 files changed, 0 insertions, 9 deletions
diff --git a/drivers/block/ahci.c b/drivers/block/ahci.c index 3fa14a76b8..f4744718a8 100644 --- a/drivers/block/ahci.c +++ b/drivers/block/ahci.c @@ -1092,8 +1092,3 @@ __weak void scsi_bus_reset(void) { /*Not implement*/ } - -void scsi_print_error(ccb * pccb) -{ - /*The ahci error info can be read in the ahci driver*/ -} diff --git a/drivers/block/sandbox_scsi.c b/drivers/block/sandbox_scsi.c index ad961bd225..f4004a350c 100644 --- a/drivers/block/sandbox_scsi.c +++ b/drivers/block/sandbox_scsi.c @@ -23,7 +23,3 @@ int scsi_exec(ccb *pccb) { return 0; } - -void scsi_print_error(ccb *pccb) -{ -} |