serial: 8250_port: Remove useless NULL checks
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 30 Aug 2017 14:12:13 +0000 (17:12 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 31 Aug 2017 16:47:31 +0000 (18:47 +0200)
commitae28d7402a7e7cf3dd0da1f2eb6a52b337873e08
tree3d59f7c12f6e7efc3d0e3694457cf7226715df4f
parent31cb9a8575ca04f47ea113434d4782b695638b62
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>
drivers/tty/serial/8250/8250_port.c