From: Andy Shevchenko Date: Wed, 14 Jan 2015 16:39:32 +0000 (+0200) Subject: x86: pmc_atom: don%27t check for NULL twice X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~156^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5df8fe34bec4539e259525feabd16efccf16750;p=pandora-kernel.git x86: pmc_atom: don%27t check for NULL twice debugfs_remove_recursive() is NULL-aware, thus, we may safely remove the check here. There is no need to assing NULL to variable since it will be not used anywhere. Signed-off-by: Andy Shevchenko Acked-by: Aubrey Li Cc: Rafael J. Wysocki Cc: Kumar P. Mahesh Link: http://lkml.kernel.org/r/1421253575-22509-3-git-send-email-andriy.shevchenko@linux.intel.com Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed