commit | 2ca93ffa93122324ce3b0e728d6e80671ea53f17 | [log] [tgz] |
---|---|---|
author | Shawn Lin <shawn.lin@rock-chips.com> | Fri Aug 18 20:28:01 2017 +0530 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Tue Aug 29 16:00:38 2017 -0500 |
tree | 7632d9da946b0b9f31e418ff54f199b2e72576c0 | |
parent | 702a3ed9d6ea8c9fe438725c32bfe7d967959070 [diff] |
PCI: endpoint: Remove the ->remove() callback epf_test is allocated using devm_kzalloc(). Hence it's not required to explicitly free it in remove() callback. Since ->remove() callback doesn't do anything other than freeing epf_test, remove the ->remove() callback. Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>