}
 
 static struct dentry *mount_subvol(const char *subvol_name, u64 subvol_objectid,
-                                  int flags, const char *device_name,
-                                  char *data, struct vfsmount *mnt)
+                                  const char *device_name, struct vfsmount *mnt)
 {
        struct dentry *root;
        int ret;
        }
 
        /* mount_subvol() will free subvol_name and mnt_root */
-       root = mount_subvol(subvol_name, subvol_objectid, flags, device_name,
-                       data, mnt_root);
+       root = mount_subvol(subvol_name, subvol_objectid, device_name, mnt_root);
 
 out:
        return root;