Style fix.

Thanks to axel for watching!
This commit is contained in:
Adrien Destugues 2016-02-28 12:51:58 +01:00
parent 319328002a
commit 3b4f50d3fb

View File

@ -106,9 +106,7 @@ speed_t
cfgetispeed(const struct termios *termios)
{
if (termios->c_cflag & CBAUD == CBAUD)
{
return termios->c_ispeed;
}
return termios->c_cflag & CBAUD;
}
@ -137,9 +135,7 @@ speed_t
cfgetospeed(const struct termios *termios)
{
if (termios->c_cflag & CBAUD == CBAUD)
{
return termios->c_ospeed;
}
return termios->c_cflag & CBAUD;
}