Skip to content

Commit

Permalink
return statement cleanup - kill pointless parentheses
Browse files Browse the repository at this point in the history
This patch removes pointless parentheses from return statements.

Signed-off-by: Jesper Juhl <[email protected]>
Signed-off-by: Adrian Bunk <[email protected]>
  • Loading branch information
Jesper Juhl authored and Adrian Bunk committed Jan 15, 2006
1 parent 46a9f65 commit 014c254
Show file tree
Hide file tree
Showing 10 changed files with 275 additions and 275 deletions.
4 changes: 2 additions & 2 deletions arch/um/include/sysdep-i386/checksum.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ unsigned int csum_partial_copy_nocheck(const unsigned char *src, unsigned char *
int len, int sum)
{
memcpy(dst, src, len);
return(csum_partial(dst, len, sum));
return csum_partial(dst, len, sum);
}

/*
Expand Down Expand Up @@ -104,7 +104,7 @@ static inline unsigned short ip_fast_csum(unsigned char * iph,
: "=r" (sum), "=r" (iph), "=r" (ihl)
: "1" (iph), "2" (ihl)
: "memory");
return(sum);
return sum;
}

/*
Expand Down
Loading

0 comments on commit 014c254

Please sign in to comment.