summaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.6/files-2.6.25/fs/yaffs2/yaffs_qsort.c
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2008-05-28 07:31:26 +0000
committerGabor Juhos <juhosg@openwrt.org>2008-05-28 07:31:26 +0000
commit15dd4cdcd2c1ae4f5fb2ee52678724eccaa46021 (patch)
tree789842eedad6b065fd85fe7bca8c050218f4e42b /target/linux/generic-2.6/files-2.6.25/fs/yaffs2/yaffs_qsort.c
parent3f229c34150fe76cfd118d5c8923f074fa74fb78 (diff)
downloadmaster-31e0f0ae-15dd4cdcd2c1ae4f5fb2ee52678724eccaa46021.tar.gz
master-31e0f0ae-15dd4cdcd2c1ae4f5fb2ee52678724eccaa46021.tar.bz2
master-31e0f0ae-15dd4cdcd2c1ae4f5fb2ee52678724eccaa46021.zip
nuke trailing whitespaces in the yaffs code
SVN-Revision: 11277
Diffstat (limited to 'target/linux/generic-2.6/files-2.6.25/fs/yaffs2/yaffs_qsort.c')
-rw-r--r--target/linux/generic-2.6/files-2.6.25/fs/yaffs2/yaffs_qsort.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/generic-2.6/files-2.6.25/fs/yaffs2/yaffs_qsort.c b/target/linux/generic-2.6/files-2.6.25/fs/yaffs2/yaffs_qsort.c
index 0429838de8..474be9cea3 100644
--- a/target/linux/generic-2.6/files-2.6.25/fs/yaffs2/yaffs_qsort.c
+++ b/target/linux/generic-2.6/files-2.6.25/fs/yaffs2/yaffs_qsort.c
@@ -50,7 +50,7 @@
static __inline void
swapfunc(char *a, char *b, int n, int swaptype)
{
- if (swaptype <= 1)
+ if (swaptype <= 1)
swapcode(long, a, b, n)
else
swapcode(char, a, b, n)
@@ -137,7 +137,7 @@ loop: SWAPINIT(a, es);
}
if (swap_cnt == 0) { /* Switch to insertion sort */
for (pm = (char *) a + es; pm < (char *) a + n * es; pm += es)
- for (pl = pm; pl > (char *) a && cmp(pl - es, pl) > 0;
+ for (pl = pm; pl > (char *) a && cmp(pl - es, pl) > 0;
pl -= es)
swap(pl, pl - es);
return;
@@ -150,7 +150,7 @@ loop: SWAPINIT(a, es);
vecswap(pb, pn - r, r);
if ((r = pb - pa) > es)
yaffs_qsort(a, r / es, es, cmp);
- if ((r = pd - pc) > es) {
+ if ((r = pd - pc) > es) {
/* Iterate rather than recurse to save stack space */
a = pn - r;
n = r / es;