]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: remove useless NULL check
authorAntonio Quartulli <ordex@autistici.org>
Thu, 29 Nov 2012 00:03:31 +0000 (01:03 +0100)
committerAntonio Quartulli <ordex@autistici.org>
Sat, 12 Jan 2013 10:58:22 +0000 (20:58 +1000)
commita8d42260475a14386ff7c5468d84ea3cebaca8c6
treea41fb2169986f164fffbce1d760ca02876d40d86
parent812ec2c1f194579d968e2ffe1ca6d7d74341cb18
batman-adv: remove useless NULL check

debugfs_remove_recursive() checks whether its argument is not null
on its own, therefore it is possible to remove the external check.

Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
net/batman-adv/debugfs.c