lkml.org 
[lkml]   [2004]   [Dec]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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/

\
 
 \ /
  Last update: 2005-03-22 14:08    [W:0.044 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site