]> git.baikalelectronics.ru Git - kernel.git/commit
kernel/gcov/fs.c: remove unnecessary null test before debugfs_remove
authorFabian Frederick <fabf@skynet.be>
Fri, 8 Aug 2014 21:22:20 +0000 (14:22 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 8 Aug 2014 22:57:24 +0000 (15:57 -0700)
commit05e253ff3870f3faf962f363e62afb317da7f8ab
tree99b52f9f3a022c2bc8fe4d054357f72456d6623e
parent8d382a85ab13490b6350ebebc9885b96a3d7691d
kernel/gcov/fs.c: remove unnecessary null test before debugfs_remove

This fixes checkpatch warning:

  WARNING: debugfs_remove(NULL) is safe this check is probably not required

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Cc: Peter Oberparleiter <oberpar@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/gcov/fs.c