commit | 5ad78034c9e4d279d5b013e454063fb002154924 | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Mon Dec 07 15:03:20 2015 +0200 |
committer | Anas Nashif <anas.nashif@intel.com> | Fri Feb 05 20:24:58 2016 -0500 |
tree | 4904669bf34c0e7a891b3243bc05c6c07605a5d0 | |
parent | 7ad2d474d8a8d360f9ff9725be0858e8a06ba38c [diff] |
drivers/console: Remove unnecessary indentation in uart_console_isr Most of the uart_console_isr() function is heavily indented. We can remove one level by converting: if (uart_irq_rx_ready(uart_console_dev)) { ... ... } to: if (!uart_irq_rx_ready(uart_console_dev)) { continue; } Change-Id: Ib2fe150490a8391de4001f29e4727431668853c4 Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>