public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/8] HID: roccat: Removed empty functions definitions for roccat chardev
@ 2011-01-30 12:38 Stefan Achatz
  0 siblings, 0 replies; only message in thread
From: Stefan Achatz @ 2011-01-30 12:38 UTC (permalink / raw)
  To: Randy Dunlap, Jiri Kosina, Stefan Achatz, Mauro Carvalho Chehab,
	Hans Verkuil, Greg Kroah-Hartman, Andrew Morton, Thomas Weber,
	linux-doc, linux-kernel, linux-input

Roccat chardev is a dependency of all device specific drivers, so
the empty definitions are not needed anymore.

Signed-off-by: Stefan Achatz <erazor_de@users.sourceforge.net>
---
 drivers/hid/hid-roccat.h |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)

diff --git a/drivers/hid/hid-roccat.h b/drivers/hid/hid-roccat.h
index 5784281..c739337 100644
--- a/drivers/hid/hid-roccat.h
+++ b/drivers/hid/hid-roccat.h
@@ -15,18 +15,8 @@
 #include <linux/hid.h>
 #include <linux/types.h>
 
-#if defined(CONFIG_HID_ROCCAT) || defined(CONFIG_HID_ROCCAT_MODULE)
 int roccat_connect(struct class *klass, struct hid_device *hid);
 void roccat_disconnect(int minor);
 int roccat_report_event(int minor, u8 const *data, int len);
-#else
-static inline int roccat_connect(struct class *klass,
-		struct hid_device *hid) { return -1; }
-static inline void roccat_disconnect(int minor) {}
-static inline int roccat_report_event(int minor, u8 const *data, int len)
-{
-	return 0;
-}
-#endif
 
 #endif
-- 
1.7.3.4




^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2011-01-30 12:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-30 12:38 [PATCH 1/8] HID: roccat: Removed empty functions definitions for roccat chardev Stefan Achatz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox