From: Anssi Hannula Drop the now unused handlers and input_report_ff(). Signed-off-by: Anssi Hannula Cc: Dmitry Torokhov Signed-off-by: Andrew Morton --- include/linux/input.h | 7 ------- 1 file changed, 7 deletions(-) diff -puN include/linux/input.h~input-drop-the-remains-of-the-old-ff-interface include/linux/input.h --- a/include/linux/input.h~input-drop-the-remains-of-the-old-ff-interface +++ a/include/linux/input.h @@ -909,8 +909,6 @@ struct input_dev { int (*accept)(struct input_dev *dev, struct file *file); int (*flush)(struct input_dev *dev, struct file *file); int (*event)(struct input_dev *dev, unsigned int type, unsigned int code, int value); - int (*upload_effect)(struct input_dev *dev, struct ff_effect *effect); - int (*erase_effect)(struct input_dev *dev, int effect_id); struct input_handle *grab; @@ -1144,11 +1142,6 @@ static inline void input_report_abs(stru input_event(dev, EV_ABS, code, value); } -static inline void input_report_ff(struct input_dev *dev, unsigned int code, int value) -{ - input_event(dev, EV_FF, code, value); -} - static inline void input_report_ff_status(struct input_dev *dev, unsigned int code, int value) { input_event(dev, EV_FF_STATUS, code, value); _