mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-11-09 08:37:58 +08:00
Remove unused var 'sc'.
This commit is contained in:
1 parent
503de11658
commit
86d7cbd23e
1 file changed
+1
-2
@@ -88,7 +88,6 @@ rtems_device_driver console_open(
|
||||
void * arg
|
||||
)
|
||||
{
|
||||
rtems_status_code sc;
|
||||
static const rtems_termios_callbacks pollCallbacks = {
|
||||
NULL, /* firstOpen */
|
||||
NULL, /* lastClose */
|
||||
@@ -104,7 +103,7 @@ rtems_device_driver console_open(
|
||||
if ( minor > 1 )
|
||||
return RTEMS_INVALID_NUMBER;
|
||||
|
||||
sc = rtems_termios_open( major, minor, arg, &pollCallbacks );
|
||||
rtems_termios_open( major, minor, arg, &pollCallbacks );
|
||||
|
||||
return RTEMS_SUCCESSFUL;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user