]> git.dujemihanovic.xyz Git - u-boot.git/commit
scsi: Move pccb buffer initalization directly to scsi_detect_dev
authorMichal Simek <michal.simek@xilinx.com>
Fri, 18 Nov 2016 15:14:24 +0000 (16:14 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 2 Dec 2016 13:37:21 +0000 (14:37 +0100)
commitbccfd9e9675fffa95e370b3fb02b14832c4f4bf7
tree4d12260c34332bb0ebc5a8132473f35d6addd96c
parent4dbee176f80e98f4925c7e67e7bb42f896f8798e
scsi: Move pccb buffer initalization directly to scsi_detect_dev

pccb is pointer to temporary buffer which is used only for sending
command. Make it local as is done in scsi_read/scsi_write.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/scsi.c