diff mbox

[trivial] FSP/CONSOLE: Remove __unused attribute from fsp_console_read()

Message ID 20170601043111.14670-1-hegdevasant@linux.vnet.ibm.com
State Accepted
Headers show

Commit Message

Vasant Hegde June 1, 2017, 4:31 a.m. UTC
..as we use buffer to copy data.

Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
---
 hw/fsp/fsp-console.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Stewart Smith June 8, 2017, 7:01 a.m. UTC | #1
Vasant Hegde <hegdevasant@linux.vnet.ibm.com> writes:
> ..as we use buffer to copy data.
>
> Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
> ---
>  hw/fsp/fsp-console.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

thanks, merged to master as of b3b8f2672425510a4a70fc008030177b024dc38c
diff mbox

Patch

diff --git a/hw/fsp/fsp-console.c b/hw/fsp/fsp-console.c
index 6683679..69c603a 100644
--- a/hw/fsp/fsp-console.c
+++ b/hw/fsp/fsp-console.c
@@ -640,7 +640,7 @@  static int64_t fsp_console_write_buffer_space(int64_t term_number,
 }
 
 static int64_t fsp_console_read(int64_t term_number, int64_t *length,
-				uint8_t *buffer __unused)
+				uint8_t *buffer)
 {
 	struct fsp_serial *fs;
 	struct fsp_serbuf_hdr *sb;