summaryrefslogtreecommitdiff
path: root/common/cmd_fdc.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-07-14 15:19:07 +0200
committerWolfgang Denk <wd@denx.de>2008-07-14 15:19:07 +0200
commitd0ff51ba5d0309dbe9e25ea54f8a0285a6d5db90 (patch)
treef751c45fa698dd14edd985b80ae16ad521768457 /common/cmd_fdc.c
parentd7854223c5c85b5849fbf422cc8ac0efef461c37 (diff)
Code cleanup: fix old style assignment ambiguities like "=-" etc.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'common/cmd_fdc.c')
-rw-r--r--common/cmd_fdc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/cmd_fdc.c b/common/cmd_fdc.c
index e4fbf29a221..8493defe934 100644
--- a/common/cmd_fdc.c
+++ b/common/cmd_fdc.c
@@ -512,7 +512,7 @@ int fdc_read_data(unsigned char *buffer, unsigned long blocks,FDC_COMMAND_STRUCT
if(readblk>blocks) /* is end within 1st track */
readblk=blocks; /* yes, correct it */
PRINTF("we read %ld blocks start %ld\n",readblk,pCMD->blnr);
- bufferw=&buffer[0]; /* setup working buffer */
+ bufferw = &buffer[0]; /* setup working buffer */
do {
retryrw:
len=sect_size * readblk;
@@ -566,7 +566,7 @@ retryrw:
* we need to get the results */
fdc_terminate(pCMD);
offset+=(sect_size*readblk); /* set up buffer pointer */
- bufferw=&buffer[offset];
+ bufferw = &buffer[offset];
pCMD->blnr+=readblk; /* update current block nr */
blocks-=readblk; /* update blocks */
if(blocks==0)