diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-11-01 06:36:22 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-11-01 06:36:22 +0000 |
commit | 86f02622de95134d9c0bd0a18b520808df13c1ef (patch) | |
tree | cd36a6a47d4dd198c616ec887f85d61ab4ec23fb /testsuites/libtests/termios/init.c | |
parent | 2009-11-01 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-86f02622de95134d9c0bd0a18b520808df13c1ef.tar.bz2 |
Remove sh2 hacks.
Diffstat (limited to '')
-rw-r--r-- | testsuites/libtests/termios/init.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/testsuites/libtests/termios/init.c b/testsuites/libtests/termios/init.c index ac26255b09..3926e94954 100644 --- a/testsuites/libtests/termios/init.c +++ b/testsuites/libtests/termios/init.c @@ -243,9 +243,7 @@ void print_c_cflag( struct termios * tp ) printf( "c_cflag = 0x%08x\n", tp->c_cflag ); baud = (tp->c_cflag & CBAUD) ; -#if defined(__sh2__) if ( tp->c_cflag & CBAUDEX ) -#endif switch( baud ) { case B0: printf( "\tCBAUD =\tB0\n" ); @@ -310,12 +308,7 @@ void print_c_cflag( struct termios * tp ) case B38400: printf( "\tCBAUD =\tB38400\n" ); break; -#if defined(__sh2__) - } - else - switch ( baud ) - { -#endif + case B57600: printf( "\tCBAUD =\tB57600\n" ); break; |