Revert "serial_core: Update buffer overrun statistics."
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 May 2012 16:44:22 +0000 (09:44 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 May 2012 16:44:22 +0000 (09:44 -0700)
commit55e4b8b416849753bd7eacd1f2ac3947fcf1c78e
treeb00cc75f291a837475da07b60dec589d565dcd91
parentbdb595b4a906b8124d0dc5ff852f84302e2e7955
Revert "serial_core: Update buffer overrun statistics."

This reverts commit 642180871bc91afebb6ccf40d1615a7dd33699a3.

Buffer overruns are for hardware reported overruns, not software ones,
which will only happen if we run out of memory and you will get lots of
-ENOMEM errors at the same time.

Thanks to Alan Cox for catching this.

Reported-by: Alan Cox <alan@linux.intel.com>
Cc: Corbin Atkinson <corbinat@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/serial_core.c