[rtems commit] m68k/mrm332/console/sci.c: Fix missing variable error introduced by earlier patch
Joel Sherrill
joel at rtems.org
Sun Oct 19 21:51:56 UTC 2014
Module: rtems
Branch: master
Commit: f4c6c2776aeb7834706b4e6b547a46f85bc08832
Changeset: http://git.rtems.org/rtems/commit/?id=f4c6c2776aeb7834706b4e6b547a46f85bc08832
Author: Joel Sherrill <joel.sherrill at oarcorp.com>
Date: Thu Oct 16 13:23:01 2014 -0500
m68k/mrm332/console/sci.c: Fix missing variable error introduced by earlier patch
---
c/src/lib/libbsp/m68k/mrm332/console/sci.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/c/src/lib/libbsp/m68k/mrm332/console/sci.c b/c/src/lib/libbsp/m68k/mrm332/console/sci.c
index 299f218..db99cb3 100644
--- a/c/src/lib/libbsp/m68k/mrm332/console/sci.c
+++ b/c/src/lib/libbsp/m68k/mrm332/console/sci.c
@@ -1144,7 +1144,6 @@ rtems_device_driver SciControl (
{
rtems_libio_ioctl_args_t *args = arg; /* rtems arg struct */
uint16_t command; /* the cmd to execute */
- uint16_t *ptr; /* ptr to user data */
/*printk("%s major=%d minor=%d\r\n", __FUNCTION__,major,minor); */
@@ -1168,8 +1167,6 @@ rtems_device_driver SciControl (
args->ioctl_return = -1; /* assume an error */
command = args->command; /* get the command */
- ptr = args->buffer; /* this is an address */
- unused = *ptr; /* brightness */
if (command == SCI_SEND_BREAK) /* process the command */
{
More information about the vc
mailing list