]> git.baikalelectronics.ru Git - kernel.git/commit
net: xenbus: remove redundant condition check before debugfs_remove_recursive
authorzhong jiang <zhongjiang@huawei.com>
Sat, 8 Sep 2018 13:35:06 +0000 (21:35 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Sep 2018 06:01:33 +0000 (23:01 -0700)
commita946581bc64bb4331fae73feb04b0600ea60bde6
tree67c0f3b03a35e02a914324307f253ec6f6166353
parent9378e6ed4ff32c6a1cf3ea58cdc88cd4a32ebdc7
net: xenbus: remove redundant condition check before debugfs_remove_recursive

debugfs_remove_recursive has taken the IS_ERR_OR_NULL into account. Just
remove the unnecessary condition check.

Signed-off-by: zhong jiang <zhongjiang@huawei.com>
Reviewed-by: Paul Durrant <paul.durrant@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/xen-netback/xenbus.c