[PATCH 22/30] return statement cleanup - kill pointless parenthesesin fs/coda/psdev.c

From: Jesper Juhl
Date: Wed Dec 15 2004 - 21:07:28 EST



This patch removes pointless parentheses from return statements in
fs/coda/psdev.c

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


--- 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/