commit 9c5d359451ca8123218b4bc1e28e94784dc67be4
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Sun Jul 27 18:49:13 2008 -0400
Unionfs: minor checkpatch fixes
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
diff --git a/fs/unionfs/main.c b/fs/unionfs/main.c
index b5b6bd9..12fd13e 100644
--- a/fs/unionfs/main.c
+++ b/fs/unionfs/main.c
@@ -460,8 +460,6 @@ static struct unionfs_dentry_info *unionfs_parse_options(
while ((optname = strsep(&options, ",")) != NULL) {
char *optarg;
- char *endptr;
- int intval;
if (!optname || !*optname)
continue;
@@ -494,16 +492,6 @@ static struct unionfs_dentry_info *unionfs_parse_options(
continue;
}
- /* All of these options require an integer argument. */
- intval = simple_strtoul(optarg, &endptr, 0);
- if (*endptr) {
- printk(KERN_ERR
- "unionfs: invalid %s option '%s'\n",
- optname, optarg);
- err = -EINVAL;
- goto out_error;
- }
-
err = -EINVAL;
printk(KERN_ERR
"unionfs: unrecognized option '%s'\n", optname);
_______________________________________________
unionfs-cvs mailing list: http://unionfs.filesystems.org/
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs-cvs