Skip to contentSkip to conversation

fs/coda/psdev.c: return is not a function

PATCH New Fabian Frederick 1 participant 1 message Mar 30, 2015 Coda file system

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fs/coda/psdev.c: return is not a function

remove parentheses in returns.

---
 fs/coda/psdev.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
fs/coda/psdev.c +2 -2
index 8226291..8914ec8 100644
@@ -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)
Signature · 1 line
1.9.1