nfs: remove unneeded NULL pointer check in nfs4_remote_mount

"data" is never NULL here.

Reported-by: Eric Paris <eparis@redhat.com>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
Jeff Layton 2012-01-24 16:35:00 +00:00 коммит произвёл Trond Myklebust
Родитель d3b773e4fd
Коммит c15c928f36
1 изменённых файлов: 1 добавлений и 2 удалений

Просмотреть файл

@ -2667,8 +2667,7 @@ nfs4_remote_mount(struct file_system_type *fs_type, int flags,
if (!s->s_root) { if (!s->s_root) {
/* initial superblock/root creation */ /* initial superblock/root creation */
nfs4_fill_super(s); nfs4_fill_super(s);
nfs_fscache_get_super_cookie( nfs_fscache_get_super_cookie(s, data->fscache_uniq, NULL);
s, data ? data->fscache_uniq : NULL, NULL);
} }
mntroot = nfs4_get_root(s, mntfh, dev_name); mntroot = nfs4_get_root(s, mntfh, dev_name);