diff options
author | Joe Perches <joe@perches.com> | 2008-05-07 11:15:23 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2008-05-16 14:51:47 -0400 |
commit | 253b00f1e6619055d524188f254ccb951bffce5d (patch) | |
tree | 90cb8c276727b91dbf24fa0ac03cbebcfd2c524c /include/linux/input.h | |
parent | ccd3474569a101914444dc37cc108eec22578999 (diff) |
Input: remove unused defines
Remove unused to_dev, to_handler, to_handle from include/linux/input.h
Move to_handle_h from include/linux/input.h to drivers/char/keyboard.c
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'include/linux/input.h')
-rw-r--r-- | include/linux/input.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/input.h b/include/linux/input.h index 28a094fcfe20..eff711d8a459 100644 --- a/include/linux/input.h +++ b/include/linux/input.h | |||
@@ -1213,11 +1213,6 @@ struct input_handle { | |||
1213 | struct list_head h_node; | 1213 | struct list_head h_node; |
1214 | }; | 1214 | }; |
1215 | 1215 | ||
1216 | #define to_dev(n) container_of(n, struct input_dev, node) | ||
1217 | #define to_handler(n) container_of(n, struct input_handler, node) | ||
1218 | #define to_handle(n) container_of(n, struct input_handle, d_node) | ||
1219 | #define to_handle_h(n) container_of(n, struct input_handle, h_node) | ||
1220 | |||
1221 | struct input_dev *input_allocate_device(void); | 1216 | struct input_dev *input_allocate_device(void); |
1222 | void input_free_device(struct input_dev *dev); | 1217 | void input_free_device(struct input_dev *dev); |
1223 | 1218 | ||