- input-remove-unused-defines.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     input: remove unused defines
has been removed from the -mm tree.  Its filename was
     input-remove-unused-defines.patch

This patch was dropped because it was merged into mainline or a subsystem tree

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: input: remove unused defines
From: Joe Perches <joe@xxxxxxxxxxx>

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@xxxxxxxxxxx>
Cc: Dmitry Torokhov <dtor@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/char/keyboard.c |    2 ++
 include/linux/input.h   |    5 -----
 2 files changed, 2 insertions(+), 5 deletions(-)

diff -puN drivers/char/keyboard.c~input-remove-unused-defines drivers/char/keyboard.c
--- a/drivers/char/keyboard.c~input-remove-unused-defines
+++ a/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
  */
diff -puN include/linux/input.h~input-remove-unused-defines include/linux/input.h
--- a/include/linux/input.h~input-remove-unused-defines
+++ a/include/linux/input.h
@@ -1213,11 +1213,6 @@ struct input_handle {
 	struct list_head	h_node;
 };
 
-#define to_dev(n) container_of(n, struct input_dev, node)
-#define to_handler(n) container_of(n, struct input_handler, node)
-#define to_handle(n) container_of(n, struct input_handle, d_node)
-#define to_handle_h(n) container_of(n, struct input_handle, h_node)
-
 struct input_dev *input_allocate_device(void);
 void input_free_device(struct input_dev *dev);
 
_

Patches currently in -mm which might be from joe@xxxxxxxxxxx are

linux-next.patch
git-cifs.patch
drivers-base-driverc-remove-unused-to_dev-macro.patch
git-input.patch
git-unionfs.patch
asic3-platform_get_irq-may-return-signed-unnoticed.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux