[PATCH 26/30] return statement cleanup - kill pointless parenthesesin arch/um/include/sysdep-i386/checksum.h

From: Jesper Juhl
Date: Wed Dec 15 2004 - 20:00:56 EST



This patch removes pointless parentheses from return statements in
arch/um/include/sysdep-i386/checksum.h

Signed-off-by: Jesper Juhl <juhl-lkml@xxxxxx>


--- linux-2.6.10-rc3-bk8-orig/arch/um/include/sysdep-i386/checksum.h 2004-10-18 23:55:36.000000000 +0200
+++ linux-2.6.10-rc3-bk8/arch/um/include/sysdep-i386/checksum.h 2004-12-15 23:57:46.000000000 +0100
@@ -49,7 +49,7 @@ unsigned int csum_partial_copy_nocheck(c
int len, int sum)
{
memcpy(dst, src, len);
- return(csum_partial(dst, len, sum));
+ return csum_partial(dst, len, sum);
}

static __inline__
@@ -105,7 +105,7 @@ static inline unsigned short ip_fast_csu
: "=r" (sum), "=r" (iph), "=r" (ihl)
: "1" (iph), "2" (ihl)
: "memory");
- return(sum);
+ return sum;
}

/*
@@ -197,7 +197,7 @@ static __inline__ unsigned int csum_and_
int sum, int *err_ptr)
{
if (access_ok(VERIFY_WRITE, dst, len))
- return(csum_partial_copy_to(src, dst, len, sum, err_ptr));
+ return csum_partial_copy_to(src, dst, len, sum, err_ptr);

if (len)
*err_ptr = -EFAULT;



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/