NFC: nci: Remove dead code
authorPeter Hurley <peter@hurleysoftware.com>
Mon, 11 Jan 2016 06:40:53 +0000 (22:40 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Jan 2016 23:01:44 +0000 (15:01 -0800)
commit582e20a03b9bcbddaeaffb38800323ddcc4a9173
tree1e40fbce17ea82cca83ae56cb03814e85accfb2a
parent46b94e779e8a53b83e8d84e5aeb443d8b8bd45ea
NFC: nci: Remove dead code

The N_NCI ldisc does not define a flush_buffer() ldisc method, so
the check when opening the ldisc is always false.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/nfc/nci/uart.c