]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ieee802154: ca8210: remove redundant condition check before debugfs_remove
authorzhong jiang <zhongjiang@huawei.com>
Fri, 14 Sep 2018 05:04:37 +0000 (13:04 +0800)
committerStefan Schmidt <stefan@datenfreihafen.org>
Thu, 27 Sep 2018 13:31:37 +0000 (15:31 +0200)
commit659902db7008f233e3d514c774b5ff3d46c8edd8
tree017118b71a37ae74cb1e8d36dc8eaaec338b8c80
parent98e616fe7c94f9c787092b6364405d99bdf42153
ieee802154: ca8210: remove redundant condition check before debugfs_remove

debugfs_remove has taken the IS_ERR into account. Just
remove the unnecessary condition.

Signed-off-by: zhong jiang <zhongjiang@huawei.com>
Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
drivers/net/ieee802154/ca8210.c