]> git.karo-electronics.de Git - linux-beck.git/commit
i5100_edac: Remove two checkpatch warnings
authorMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Feb 2013 14:01:23 +0000 (11:01 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Feb 2013 14:06:34 +0000 (11:06 -0300)
commit59b9796d1e0e5edb6eb3d5ae550eac0d53d27adb
tree1e07817873d2d3be13bd1428c4fe36efd47315d7
parent9cbc6d38f25ae8fb3efd0b1c14f4f18c1d9f0369
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 <mchehab@redhat.com>
drivers/edac/i5100_edac.c