lkml.org 
[lkml]   [2015]   [Mar]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 1/1 linux-next] fs/coda/psdev.c: return is not a function
Date
remove parentheses in returns.

Signed-off-by: Fabian Frederick <fabf@skynet.be>
---
fs/coda/psdev.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/coda/psdev.c b/fs/coda/psdev.c
index 8226291..8914ec8 100644
--- a/fs/coda/psdev.c
+++ b/fs/coda/psdev.c
@@ -193,7 +193,7 @@ static ssize_t coda_psdev_write(struct file *file, const char __user *buf,

wake_up(&req->uc_sleep);
out:
- return(count ? count : retval);
+ return count ? count : retval;
}

/*
@@ -261,7 +261,7 @@ static ssize_t coda_psdev_read(struct file * file, char __user * buf,
kfree(req);
out:
mutex_unlock(&vcp->vc_mutex);
- return (count ? count : retval);
+ return count ? count : retval;
}

static int coda_psdev_open(struct inode * inode, struct file * file)
--
1.9.1


\
 
 \ /
  Last update: 2015-03-30 23:21    [W:0.187 / U:0.276 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site