Messages in this thread Patch in this message | | | Date | Thu, 16 Dec 2004 01:36:27 +0100 (CET) | From | Jesper Juhl <> | Subject | [PATCH 22/30] return statement cleanup - kill pointless parentheses in fs/coda/psdev.c |
| |
This patch removes pointless parentheses from return statements in fs/coda/psdev.c
Signed-off-by: Jesper Juhl <juhl-lkml@dif.dk>
--- linux-2.6.10-rc3-bk8-orig/fs/coda/psdev.c 2004-10-18 23:54:37.000000000 +0200 +++ linux-2.6.10-rc3-bk8/fs/coda/psdev.c 2004-12-15 23:51:12.000000000 +0100 @@ -205,7 +205,7 @@ static ssize_t coda_psdev_write(struct f wake_up(&req->uc_sleep); out: - return(count ? count : retval); + return count ? count : retval; } /* @@ -271,7 +271,7 @@ static ssize_t coda_psdev_read(struct fi upc_free(req); out: unlock_kernel(); - return (count ? count : retval); + return count ? count : retval; } static int coda_psdev_open(struct inode * inode, struct file * file)
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |