OSDN Git Service

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)
commitaad06d1104e8d5afee14ee4a4b9b3f39de0c9b67
treef9b5495508c715a97a1e514c484b35b436ae8b89
parent0527097ce81cad20529e4f2c37a092774d713d36
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