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

login
register
mail settings
Submitter Jeff Layton
Date March 21, 2010, 7:20 p.m.
Message ID <1269199227-21446-5-git-send-email-jlayton@redhat.com>
Download mbox | patch
Permalink /patch/48228/
State New
Headers show

Comments

Jeff Layton - March 21, 2010, 7:20 p.m.
They don't actually do anything.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
---
 mount.cifs.c |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)

Patch

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;