From e62d4255172540805a77fee1c58382103f43bb2f Mon Sep 17 00:00:00 2001 From: Jean-Christophe PLAGNIOL-VILLARD Date: Fri, 20 Sep 2013 05:31:29 +0200 Subject: console: drop f_caps and check the function pointer getc/putc instead None of the driver make the difference between STDOUT and STDERR. So we just need to check if putc or getc are filled in the console_device save 32 bytes on versatilepb Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Signed-off-by: Sascha Hauer --- include/console.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include') diff --git a/include/console.h b/include/console.h index 72cf99f55b..56e0484e93 100644 --- a/include/console.h +++ b/include/console.h @@ -40,7 +40,6 @@ struct console_device { struct list_head list; - unsigned char f_caps; unsigned char f_active; unsigned int baudrate; -- cgit v1.2.3