From: Alex Elder Date: Thu, 6 Nov 2014 13:00:59 +0000 (-0600) Subject: greybus: kill test_sink.c X-Git-Tag: v4.9-rc1~119^2~378^2~21^2~1931 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=8d59897978aa0dfb3562f130e568e898e6952e72;p=karo-tx-linux.git greybus: kill test_sink.c This file is an artifact of some early testing, but it is otherwise unused. So get rid of it. Signed-off-by: Alex Elder Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/greybus/Makefile b/drivers/staging/greybus/Makefile index 39874deacab0..bb90895deea6 100644 --- a/drivers/staging/greybus/Makefile +++ b/drivers/staging/greybus/Makefile @@ -17,7 +17,6 @@ greybus-y := core.o \ obj-m += greybus.o obj-m += es1-ap-usb.o -obj-m += test_sink.o KERNELVER ?= $(shell uname -r) KERNELDIR ?= /lib/modules/$(KERNELVER)/build diff --git a/drivers/staging/greybus/test_sink.c b/drivers/staging/greybus/test_sink.c deleted file mode 100644 index 1b477695b418..000000000000 --- a/drivers/staging/greybus/test_sink.c +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Test "sink" Greybus driver. - * - * Copyright 2014 Google Inc. - * - * Released under the GPLv2 only. - */ - -#include -#include -#include -#include "greybus.h" - -struct test_device { - struct gb_module *gmod; -}; - -int gb_register_cport_complete(struct gb_module *gmod, - gbuf_complete_t handler, u16 cport_id, - void *context); -void gb_deregister_cport_complete(u16 cport_id); - - - -static int test_init(void) -{ - return 0; -} - -static void test_exit(void) -{ -} - -module_init(test_init); -module_exit(test_exit); - -MODULE_LICENSE("GPL"); -MODULE_AUTHOR("Greg Kroah-Hartman ");