From efe2a4d5cf96dd37bc4782ba1880cee4ed1117c5 Mon Sep 17 00:00:00 2001 From: wdenk Date: Thu, 16 Dec 2004 21:44:03 +0000 Subject: Code cleanup. --- board/esd/cpci750/ide.c | 59 ++++++++++++++++++++++--------------------------- 1 file changed, 26 insertions(+), 33 deletions(-) (limited to 'board/esd/cpci750/ide.c') diff --git a/board/esd/cpci750/ide.c b/board/esd/cpci750/ide.c index 7400e8d..bea99ce 100644 --- a/board/esd/cpci750/ide.c +++ b/board/esd/cpci750/ide.c @@ -32,41 +32,34 @@ extern ulong ide_bus_offset[CFG_IDE_MAXBUS]; -int ide_preinit - ( - void - ) - { - int status; - pci_dev_t devbusfn; - int l; +int ide_preinit (void) +{ + int status; + pci_dev_t devbusfn; + int l; - status = 1; - for(l=0;l