lkml.org 
[lkml]   [2017]   [Dec]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] Staging: ncpfs: dir: fixed a bracket coding style issue
Date
Fixed a coding style issue.

Signed-off-by: Santha Meena Ramamoorthy <santhameena13@gmail.com>
---
drivers/staging/ncpfs/dir.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/ncpfs/dir.c b/drivers/staging/ncpfs/dir.c
index 0c57c5c..62a770f 100644
--- a/drivers/staging/ncpfs/dir.c
+++ b/drivers/staging/ncpfs/dir.c
@@ -46,8 +46,7 @@ extern int ncp_symlink(struct inode *, struct dentry *, const char *);
#define ncp_symlink NULL
#endif

-const struct file_operations ncp_dir_operations =
-{
+const struct file_operations ncp_dir_operations = {
.llseek = generic_file_llseek,
.read = generic_read_dir,
.iterate = ncp_readdir,
@@ -57,8 +56,7 @@ const struct file_operations ncp_dir_operations =
#endif
};

-const struct inode_operations ncp_dir_inode_operations =
-{
+const struct inode_operations ncp_dir_inode_operations = {
.create = ncp_create,
.lookup = ncp_lookup,
.unlink = ncp_unlink,
--
2.7.4
\
 
 \ /
  Last update: 2017-12-30 00:28    [W:0.743 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site