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 /drivers/char/keyboard.c | |
parent | ccd3474569a101914444dc37cc108eec22578999 (diff) | |
download | linux-253b00f1e6619055d524188f254ccb951bffce5d.tar.gz linux-253b00f1e6619055d524188f254ccb951bffce5d.tar.bz2 linux-253b00f1e6619055d524188f254ccb951bffce5d.zip |
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 'drivers/char/keyboard.c')
-rw-r--r-- | drivers/char/keyboard.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/char/keyboard.c b/drivers/char/keyboard.c index 7f7e798c1384..d0369e05490a 100644 --- a/drivers/char/keyboard.c +++ b/drivers/char/keyboard.c @@ -46,6 +46,8 @@ extern void ctrl_alt_del(void); +#define to_handle_h(n) container_of(n, struct input_handle, h_node) + /* * Exported functions/variables */ |