diff options
author | Shawn Lin <shawn.lin@rock-chips.com> | 2017-08-18 20:28:01 +0530 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2017-08-29 16:00:38 -0500 |
commit | 2ca93ffa93122324ce3b0e728d6e80671ea53f17 (patch) | |
tree | 7632d9da946b0b9f31e418ff54f199b2e72576c0 /drivers/misc/pci_endpoint_test.c | |
parent | 702a3ed9d6ea8c9fe438725c32bfe7d967959070 (diff) | |
download | linux-2ca93ffa93122324ce3b0e728d6e80671ea53f17.tar.gz linux-2ca93ffa93122324ce3b0e728d6e80671ea53f17.tar.bz2 linux-2ca93ffa93122324ce3b0e728d6e80671ea53f17.zip |
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>
Diffstat (limited to 'drivers/misc/pci_endpoint_test.c')
0 files changed, 0 insertions, 0 deletions