From: Stefan Achatz Date: Sun, 30 Jan 2011 12:38:20 +0000 (+0100) Subject: HID: roccat: Remove empty function definitions for roccat chardev X-Git-Tag: v2.6.39-rc1~429^2^5~10 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=cb38cd87862aa515cd0559473e94d4495372a590;p=karo-tx-linux.git HID: roccat: Remove empty function definitions for roccat chardev Roccat chardev is a dependency of all device specific drivers, so the empty definitions are not needed anymore. Signed-off-by: Stefan Achatz Signed-off-by: Jiri Kosina --- diff --git a/drivers/hid/hid-roccat.h b/drivers/hid/hid-roccat.h index 5784281d613f..c7393372df7c 100644 --- a/drivers/hid/hid-roccat.h +++ b/drivers/hid/hid-roccat.h @@ -15,18 +15,8 @@ #include #include -#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