[PATCH 20/42] m68k/mrm332/console/sci.c: Fix missing variable error introduced by earlier patch

Joel Sherrill joel.sherrill at oarcorp.com
Fri Oct 17 15:23:36 UTC 2014


---
 c/src/lib/libbsp/m68k/mrm332/console/sci.c | 3 ---
 1 file changed, 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 */
     {
-- 
1.9.3




More information about the devel mailing list