From: Mauro Carvalho Chehab Date: Thu, 21 Feb 2013 14:01:23 +0000 (-0300) Subject: i5100_edac: Remove two checkpatch warnings X-Git-Tag: v3.9-rc1~33^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59b9796d1e0e5edb6eb3d5ae550eac0d53d27adb;p=pandora-kernel.git i5100_edac: Remove two checkpatch warnings The last changeset introduced a few checkpatch warnings: WARNING: debugfs_remove_recursive(NULL) is safe this check is probably not required 261: FILE: drivers/edac/i5100_edac.c:1207: + if (priv->debugfs) + debugfs_remove_recursive(priv->debugfs); WARNING: debugfs_remove(NULL) is safe this check is probably not required 290: FILE: drivers/edac/i5100_edac.c:1250: + if (i5100_debugfs) + debugfs_remove(i5100_debugfs); Get rid of them. Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed