]> git.baikalelectronics.ru Git - kernel.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)
commit2524cb60b632904c4ee6d7ab4a400872dd559131
tree017118b71a37ae74cb1e8d36dc8eaaec338b8c80
parentb0760e2c8804be757ed10c27ee14855b222f43ed
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