Remove unnecessary whitespace in rsrc_nonstatic Signed-off-by: Dominik Broodwski drivers/pcmcia/rsrc_nonstatic.c | 24 ++++++++++++------------ 1 files changed, 12 insertions(+), 12 deletions(-) diff -ruN linux-original/drivers/pcmcia/rsrc_nonstatic.c linux/drivers/pcmcia/rsrc_nonstatic.c --- linux-original/drivers/pcmcia/rsrc_nonstatic.c 2004-11-21 23:16:12.031856568 +0100 +++ linux/drivers/pcmcia/rsrc_nonstatic.c 2004-11-21 23:15:53.559664768 +0100 @@ -118,7 +118,7 @@ /*====================================================================== These manage the internal databases of available resources. - + ======================================================================*/ static int add_interval(struct resource_map_t *map, u_long base, u_long num) @@ -182,7 +182,7 @@ These routines examine a region of IO or memory addresses to determine what ranges might be genuinely available. - + ======================================================================*/ #ifdef CONFIG_PCMCIA_PROBE @@ -192,16 +192,16 @@ struct socket_data *s_data = s->resource_data; ioaddr_t i, j, bad, any; u_char *b, hole, most; - + printk(KERN_INFO "cs: IO port probe 0x%04x-0x%04x:", base, base+num-1); - + /* First, what does a floating port look like? */ b = kmalloc(256, GFP_KERNEL); if (!b) { printk(KERN_ERR "do_io_probe: unable to kmalloc 256 bytes"); return; - } + } memset(b, 0, 256); for (i = base, most = 0; i < base+num; i += 8) { res = claim_region(NULL, i, 8, IORESOURCE_IO, "PCMCIA IO probe"); @@ -247,7 +247,7 @@ printk(" %#04x-%#04x", bad, i-1); } } - + printk(any ? "\n" : " clean.\n"); } #endif @@ -256,7 +256,7 @@ This is tricky... when we set up CIS memory, we try to validate the memory window space allocations. - + ======================================================================*/ /* Validation function for cards with a valid CIS */ @@ -357,7 +357,7 @@ The memory probe. If the memory list includes a 64K-aligned block below 1MB, we probe in 64K chunks, and as soon as we accumulate at least mem_limit free space, we quit. - + ======================================================================*/ static int do_mem_probe(u_long base, u_long num, struct pcmcia_socket *s) @@ -373,7 +373,7 @@ if (step < 2 * s->map_size) step = 2 * s->map_size; for (i = j = base; i < base+num; i = j + step) { - if (!fail) { + if (!fail) { for (j = i; j < base+num; j += step) { if (cis_readable(s, j, step)) break; @@ -459,7 +459,7 @@ { struct resource_map_t *m, mm; struct socket_data *s_data = s->resource_data; - + for (m = s_data->mem_db.next; m != &s_data->mem_db; m = mm.next) { mm = *m; if (do_mem_probe(mm.base, mm.num, s)) @@ -600,7 +600,7 @@ should be a power of two, greater than or equal to 'num'. A value of 0 means that all bits of *base are significant. *base should also be strictly less than 'align'. - + ======================================================================*/ struct resource *nonstatic_find_io_region(unsigned long base, int num, @@ -726,7 +726,7 @@ { struct socket_data *data = s->resource_data; int base, num, ret = CS_SUCCESS; - + base = adj->resource.io.BasePort; num = adj->resource.io.NumPorts; if ((base < 0) || (base > 0xffff))