From: John Johansen Date: Thu, 21 Feb 2013 09:14:17 +0000 (-0800) Subject: apparmor: Fix smatch warning in aa_remove_profiles X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~21^2~13^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41d1b3e868c263e8b43dd5903a70633e05ae58a6;p=pandora-kernel.git apparmor: Fix smatch warning in aa_remove_profiles smatch reports error: potential NULL dereference 'ns'. this can not actually occur because it relies on aa_split_fqname setting both ns_name and name as null but ns_name will actually always have a value in this case. so remove the unnecessary if (ns_name) conditional that is resulting in the false positive further down. Signed-off-by: John Johansen --- Reading git-diff-tree failed