OSDN Git Service

serial: jsm: Remove unnecessary if statement
authorKonrad Zapalowicz <bergo.torino@gmail.com>
Sun, 9 Nov 2014 01:22:17 +0000 (02:22 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Nov 2014 01:06:38 +0000 (17:06 -0800)
commitb6501dd86ff085a8687d157c016f46a34e46bf5b
tree5e04f1ac2825ae4b3bdf6d05286b6f77c51bb035
parent333f4eb1ba46b2d75fb3dc46ebed13aa1d0c9639
serial: jsm: Remove unnecessary if statement

The flow of {neo,cls}_param() shows that at this stage the baud rate
has a non-zero value. This fact makes the if clausule obsolete and
acknowledges it's removal.

Signed-off-by: Konrad Zapalowicz <bergo.torino@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/jsm/jsm_cls.c
drivers/tty/serial/jsm/jsm_neo.c