diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2017-08-30 16:12:13 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-08-31 18:47:31 +0200 |
commit | ae28d7402a7e7cf3dd0da1f2eb6a52b337873e08 (patch) | |
tree | 3d59f7c12f6e7efc3d0e3694457cf7226715df4f /drivers/tty/goldfish.c | |
parent | earlycon: initialise baud field of earlycon device structure (diff) | |
download | linux-ae28d7402a7e7cf3dd0da1f2eb6a52b337873e08.tar.xz linux-ae28d7402a7e7cf3dd0da1f2eb6a52b337873e08.zip |
serial: 8250_port: Remove useless NULL checks
After switching to HR timers for RS485 the NULL checks for the object
inside timer functions become useless.
Remove them to avoid confusion to static analyzers.
Fixes 6e0a5de2136b ("serial: 8250: Use hrtimers for rs485 delays")
Cc: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/goldfish.c')
0 files changed, 0 insertions, 0 deletions