diff mbox

[1/8] HID: roccat: Removed empty functions definitions for roccat chardev

Message ID 1296391100.2283.180.camel@neuromancer (mailing list archive)
State Accepted
Commit cb38cd87862aa515cd0559473e94d4495372a590
Headers show

Commit Message

Stefan Achatz Jan. 30, 2011, 12:38 p.m. UTC
None
diff mbox

Patch

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