summaryrefslogtreecommitdiff
path: root/drivers/staging
diff options
context:
space:
mode:
authorAndre Haupt <andre@bitwigglers.org>2009-01-26 15:12:18 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2009-04-03 21:53:24 (GMT)
commit387ed8f8ed047b7a70578767c4bc9d86a82312bf (patch)
tree4ddaeec620e8207965db4e423a191b04298d1afd /drivers/staging
parent07d2a2823014927e3578377a07868400837a79c6 (diff)
downloadlinux-fsl-qoriq-387ed8f8ed047b7a70578767c4bc9d86a82312bf.tar.xz
Staging: me4000: return is not a function, no parentheses required
fixes some checkpatch.pl errors about unneccessary parentheses. Signed-off-by: Andre Haupt <andre@bitwigglers.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/me4000/me4000.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/me4000/me4000.c b/drivers/staging/me4000/me4000.c
index dbe93f9..73ed3bc 100644
--- a/drivers/staging/me4000/me4000.c
+++ b/drivers/staging/me4000/me4000.c
@@ -248,12 +248,12 @@ static irqreturn_t me4000_ext_int_isr(int, void *);
static int inline me4000_buf_count(struct me4000_circ_buf buf, int size)
{
- return ((buf.head - buf.tail) & (size - 1));
+ return (buf.head - buf.tail) & (size - 1);
}
static int inline me4000_buf_space(struct me4000_circ_buf buf, int size)
{
- return ((buf.tail - (buf.head + 1)) & (size - 1));
+ return (buf.tail - (buf.head + 1)) & (size - 1);
}
static int inline me4000_values_to_end(struct me4000_circ_buf buf, int size)
@@ -2058,7 +2058,7 @@ static ssize_t me4000_ao_write_cont(struct file *filep, const char *buff,
ME4000_AO_BUFFER_COUNT);
if (c == 0)
- return (2 * ret);
+ return 2 * ret;
/* Only able to write size of free buffer or size of count */
if (count < c)