From: Jeff Layton Date: Thu, 11 Jun 2009 14:27:28 +0000 (-0400) Subject: cifs: remove unneeded NULL checks from cifs_show_options X-Git-Tag: v2.6.31-rc2~83^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8616e0fc1e27295316f9821a883f0e9fa6f8200f;p=pandora-kernel.git cifs: remove unneeded NULL checks from cifs_show_options show_options is always called with the namespace_sem held. Therefore we don't need to worry about the vfsmount being NULL, or it vanishing while the function is running. By the same token, there's no need to worry about the superblock, tcon, smb or tcp sessions being NULL on entry. Signed-off-by: Jeff Layton Signed-off-by: Steve French --- Reading git-diff-tree failed