[PATCH] cifs: remove "sockopt" mount option
Jeff Layton <[email protected]>
| Newsgroups | gmane.linux.file-systems.cifs |
|---|---|
| Message-ID | <[email protected]> |
...another dead option that was never hooked up to anything. Signed-off-by: Jeff Layton <[email protected]> --- fs/cifs/connect.c | 6 ------ 1 files changed, 0 insertions(+), 6 deletions(-) diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index 97f4311..8b8dd9f 100644 --- a/fs/cifs/connect.c +++ b/fs/cifs/connect.c @@ -99,7 +99,6 @@ struct smb_vol { bool nostrictsync:1; /* do not force expensive SMBflush on every sync */ unsigned int rsize; unsigned int wsize; - unsigned int sockopt; unsigned short int port; char *prepath; }; @@ -1137,11 +1136,6 @@ cifs_parse_mount_options(char *options, const char *devname, vol->wsize = simple_strtoul(value, &value, 0); } - } else if (strnicmp(data, "sockopt", 5) == 0) { - if (value && *value) { - vol->sockopt = - simple_strtoul(value, &value, 0); - } } else if (strnicmp(data, "netbiosname", 4) == 0) { if (!value || !*value || (*value == ' ')) { cFYI(1, ("invalid (empty) netbiosname")); -- 1.6.0.6