[PATCH 04/10] mount.cifs: remove bogus rsize/wsize options

Jeff Layton <[email protected]>
Newsgroups gmane.linux.file-systems.cifs
Message-ID <[email protected]>
They don't actually do anything.

Signed-off-by: Jeff Layton <[email protected]>
---
 mount.cifs.c |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)

diff --git a/mount.cifs.c b/mount.cifs.c
index 9281761..1ba4175 100644
--- a/mount.cifs.c
+++ b/mount.cifs.c
@@ -1092,8 +1092,6 @@ static struct option longopts[] = {
 	{ "rw", 0, NULL, 'w' },
 	{ "options", 1, NULL, 'o' },
 	{ "type", 1, NULL, 't' },
-	{ "rsize",1, NULL, 'R' },
-	{ "wsize",1, NULL, 'W' },
 	{ "uid", 1, NULL, '1'},
 	{ "gid", 1, NULL, '2'},
 	{ "user",1,NULL,'u'},
@@ -1177,8 +1175,6 @@ int main(int argc, char ** argv)
 	char * temp;
 	char * dev_name = NULL;
 	int rc = 0;
-	int rsize = 0;
-	int wsize = 0;
 	int nomtab = 0;
 	int uid = 0;
 	int gid = 0;
@@ -1263,12 +1259,6 @@ int main(int argc, char ** argv)
 		case 'w':
 			flags &= ~MS_RDONLY;
 			break;
-		case 'R':
-			rsize = atoi(optarg) ;
-			break;
-		case 'W':
-			wsize = atoi(optarg);
-			break;
 		case '1':
 			if (isdigit(*optarg)) {
 				char *ep;
-- 
1.6.6.1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.