From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Date: Tue, 12 Apr 2016 14:05:31 -0600 Subject: [U-Boot] [PATCH 10/44] dm: scsi: Fix up code style In-Reply-To: <1460256336-30436-11-git-send-email-sjg@chromium.org> References: <1460256336-30436-1-git-send-email-sjg@chromium.org> <1460256336-30436-11-git-send-email-sjg@chromium.org> Message-ID: <570D550B.7080808@wwwdotorg.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 04/09/2016 08:45 PM, Simon Glass wrote: > Update the code style of this file so that it passes checkpatch.pl. > diff --git a/cmd/scsi.c b/cmd/scsi.c > @@ -50,82 +50,53 @@ static int scsi_curr_dev; /* current device */ > > static struct blk_desc scsi_dev_desc[CONFIG_SYS_SCSI_MAX_DEVICE]; > > -#if 0 > -/******************************************************************************** > - * forward declerations of some Setup Routines > - */ > -void scsi_setup_test_unit_ready(ccb * pccb); > -void scsi_setup_read6(ccb * pccb, lbaint_t start, unsigned short blocks); > -void scsi_setup_read_ext(ccb * pccb, lbaint_t start, unsigned short blocks); > -void scsi_setup_read16(ccb * pccb, lbaint_t start, unsigned long blocks); > - > -static void scsi_setup_write_ext(ccb *pccb, lbaint_t start, > - unsigned short blocks); > -void scsi_setup_inquiry(ccb * pccb); > -void scsi_ident_cpy (unsigned char *dest, unsigned char *src, unsigned int len); > - > - > -static int scsi_read_capacity(ccb *pccb, lbaint_t *capacity, > - unsigned long *blksz); > -static ulong scsi_read(struct blk_desc *block_dev, lbaint_t blknr, > - lbaint_t blkcnt, void *buffer); > -static ulong scsi_write(struct blk_desc *block_dev, lbaint_t blknr, > - lbaint_t blkcnt, const void *buffer); > -#endif > - Ah, that answers my previous question. I guess that chunk just got squashed into one commit too late.