]> git.baikalelectronics.ru Git - kernel.git/commit
xen-netback: remove unecessary condition check before debugfs_remove_recursive
authorzhong jiang <zhongjiang@huawei.com>
Sat, 8 Sep 2018 13:53:42 +0000 (21:53 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Sep 2018 06:02:08 +0000 (23:02 -0700)
commit49aad4e62b4c4fe10cffc5e719b3d021d96bcab4
treef9b5495508c715a97a1e514c484b35b436ae8b89
parent92b8ab47211ef7e003519dc0c3fdfc08fe90f0f7
xen-netback: remove unecessary condition check before debugfs_remove_recursive

debugfs_remove_recursive has taken IS_ERR_OR_NULL into account. So just
remove the condition check before debugfs_remove_recursive.

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/netback.c