scsi: Drop scsi_print_error()
authorSimon Glass <sjg@chromium.org>
Thu, 15 Jun 2017 03:28:23 +0000 (21:28 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 11 Jul 2017 16:08:19 +0000 (10:08 -0600)
commita6fb185c70d8ac455ed16d3bae23c3727db07116
treeda561577998fc6ab82be60f43ae79d6271f557d9
parentb8beb6b463676f586a5481993590cd8a6e8c5855
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>
common/scsi.c
drivers/block/ahci.c
drivers/block/sandbox_scsi.c
include/scsi.h