From: Viresh Kumar Date: Fri, 24 Jul 2015 10:02:22 +0000 (+0530) Subject: greybus: interface: localize gb_interface_destroy() X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=23119de4e69c8a96f10de4bcc62d3751e7d77eb4;p=openwrt%2Fstaging%2Fblogic.git greybus: interface: localize gb_interface_destroy() Its not referenced by svc or any other code anymore, lets stop exposing it to rest of the files. Signed-off-by: Viresh Kumar Tested-by: Perry Hung Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/greybus/interface.h b/drivers/staging/greybus/interface.h index fc2d29fc7ddb..558e6dbaa26b 100644 --- a/drivers/staging/greybus/interface.h +++ b/drivers/staging/greybus/interface.h @@ -52,7 +52,6 @@ struct gb_interface *gb_interface_find(struct greybus_host_device *hd, struct gb_interface *gb_interface_create(struct greybus_host_device *hd, u8 interface_id); int gb_interface_init(struct gb_interface *intf, u8 device_id); -void gb_interface_destroy(struct gb_interface *intf); void gb_interface_remove(struct greybus_host_device *hd, u8 interface_id); void gb_interfaces_remove(struct greybus_host_device *hd);