greybus: kill test_sink.c
authorAlex Elder <elder@linaro.org>
Thu, 6 Nov 2014 13:00:59 +0000 (07:00 -0600)
committerGreg Kroah-Hartman <greg@kroah.com>
Thu, 6 Nov 2014 16:03:35 +0000 (08:03 -0800)
This file is an artifact of some early testing, but it is otherwise
unused.  So get rid of it.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/Makefile
drivers/staging/greybus/test_sink.c [deleted file]

index 39874de..bb90895 100644 (file)
@@ -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 (file)
index 1b47769..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * Test "sink" Greybus driver.
- *
- * Copyright 2014 Google Inc.
- *
- * Released under the GPLv2 only.
- */
-
-#include <linux/kernel.h>
-#include <linux/module.h>
-#include <linux/slab.h>
-#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 <gregkh@linuxfoundation.org>");