diff options
author | Wolfgang Denk <wd@denx.de> | 2008-07-14 15:19:07 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-07-14 15:19:07 +0200 |
commit | d0ff51ba5d0309dbe9e25ea54f8a0285a6d5db90 (patch) | |
tree | f751c45fa698dd14edd985b80ae16ad521768457 /common/usb_storage.c | |
parent | d7854223c5c85b5849fbf422cc8ac0efef461c37 (diff) | |
download | u-boot-imx-d0ff51ba5d0309dbe9e25ea54f8a0285a6d5db90.zip u-boot-imx-d0ff51ba5d0309dbe9e25ea54f8a0285a6d5db90.tar.gz u-boot-imx-d0ff51ba5d0309dbe9e25ea54f8a0285a6d5db90.tar.bz2 |
Code cleanup: fix old style assignment ambiguities like "=-" etc.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'common/usb_storage.c')
-rw-r--r-- | common/usb_storage.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/usb_storage.c b/common/usb_storage.c index 3e113b4..d8fbb69 100644 --- a/common/usb_storage.c +++ b/common/usb_storage.c @@ -731,7 +731,7 @@ int usb_stor_CB_transport(ccb *srb, struct us_data *us) ccb reqsrb; int retry,notready; - psrb=&reqsrb; + psrb = &reqsrb; status=USB_STOR_TRANSPORT_GOOD; retry=0; notready=0; @@ -776,7 +776,7 @@ do_retry: psrb->cmd[1]=srb->lun<<5; psrb->cmd[4]=18; psrb->datalen=18; - psrb->pdata=&srb->sense_buf[0]; + psrb->pdata = &srb->sense_buf[0]; psrb->cmdlen=12; /* issue the command */ result=usb_stor_CB_comdat(psrb,us); @@ -858,7 +858,7 @@ static int usb_request_sense(ccb *srb,struct us_data *ss) srb->cmd[1]=srb->lun<<5; srb->cmd[4]=18; srb->datalen=18; - srb->pdata=&srb->sense_buf[0]; + srb->pdata = &srb->sense_buf[0]; srb->cmdlen=12; ss->transport(srb,ss); USB_STOR_PRINTF("Request Sense returned %02X %02X %02X\n",srb->sense_buf[2],srb->sense_buf[12],srb->sense_buf[13]); |