[PATCH] input: specialkeys: remove unused printk argument

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

 



Two pr_info calls have no format specifiers, but are still passed an
argument. Remove the unused arguments.

Signed-off-by: Ahmad Fatoum <ahmad@xxxxxx>
---
 drivers/input/specialkeys.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/input/specialkeys.c b/drivers/input/specialkeys.c
index ff29b8455d7a..a3f2bf4e4f48 100644
--- a/drivers/input/specialkeys.c
+++ b/drivers/input/specialkeys.c
@@ -13,12 +13,12 @@ static void input_specialkeys_notify(struct input_notifier *in,
 {
 	switch (ev->code) {
 	case KEY_RESTART:
-		pr_info("Triggering reset due to special key.\n", ev->code);
+		pr_info("Triggering reset due to special key.\n");
 		restart_machine();
 		break;
 
 	case KEY_POWER:
-		pr_info("Triggering poweroff due to special key.\n", ev->code);
+		pr_info("Triggering poweroff due to special key.\n");
 		poweroff_machine();
 		break;
 	}
-- 
2.20.1


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux