diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-02-21 15:01:23 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-02-21 15:06:34 +0100 |
commit | 59b9796d1e0e5edb6eb3d5ae550eac0d53d27adb (patch) | |
tree | 1e07817873d2d3be13bd1428c4fe36efd47315d7 /drivers/edac/edac_mc_sysfs.c | |
parent | i5100_edac: connect fault injection to debugfs node (diff) | |
download | linux-59b9796d1e0e5edb6eb3d5ae550eac0d53d27adb.tar.xz linux-59b9796d1e0e5edb6eb3d5ae550eac0d53d27adb.zip |
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>
Diffstat (limited to 'drivers/edac/edac_mc_sysfs.c')
0 files changed, 0 insertions, 0 deletions