sdcardfs: Remove unused code
authorDaniel Rosenberg <drosen@google.com>
Mon, 28 Mar 2016 22:00:20 +0000 (15:00 -0700)
committerAmit Pundir <amit.pundir@linaro.org>
Thu, 7 Apr 2016 11:20:04 +0000 (16:50 +0530)
Change-Id: Ie97cba27ce44818ac56cfe40954f164ad44eccf6

fs/sdcardfs/main.c

index fa11a0458b8441f322710c304ef2399fab9da284..a6522286d7314b57e2269e31ab31ee4ec5bcd5dc 100644 (file)
@@ -54,7 +54,6 @@ static int parse_options(struct super_block *sb, char *options, int silent,
        char *p;
        substring_t args[MAX_OPT_ARGS];
        int option;
-       char *string_option;
 
        /* by default, we use AID_MEDIA_RW as uid, gid */
        opts->fs_low_uid = AID_MEDIA_RW;
@@ -117,7 +116,6 @@ static int parse_options(struct super_block *sb, char *options, int silent,
                        break;
                /* unknown option */
                default:
-invalid_option:
                        if (!silent) {
                                printk( KERN_ERR "Unrecognized mount option \"%s\" "
                                                "or missing value", p);