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/devices.c | |
| parent | d7854223c5c85b5849fbf422cc8ac0efef461c37 (diff) | |
| download | olio-uboot-2014.01-d0ff51ba5d0309dbe9e25ea54f8a0285a6d5db90.tar.xz olio-uboot-2014.01-d0ff51ba5d0309dbe9e25ea54f8a0285a6d5db90.zip | |
Code cleanup: fix old style assignment ambiguities like "=-" etc.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'common/devices.c')
| -rw-r--r-- | common/devices.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/common/devices.c b/common/devices.c index ddf8f8ee2..9cc963ac2 100644 --- a/common/devices.c +++ b/common/devices.c @@ -125,7 +125,7 @@ int device_deregister(char *devname)  	device_t *dev = NULL;  	char temp_names[3][8]; -	dev_index=-1; +	dev_index = -1;  	for (i=1; i<=ListNumItems(devlist); i++) {  		dev = ListGetPtrToItem (devlist, i);  		if(strcmp(dev->name,devname)==0) { |