Remove every trace of SERIAL_MAGIC
authorPascal Terjan <pterjan@google.com>
Tue, 5 Nov 2019 19:27:49 +0000 (19:27 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Nov 2019 11:01:14 +0000 (19:01 +0800)
commitfba67e8f897870403e1a4f5fe3835c870cd589e0
tree51cf4b29693cf91494858b9003b71a805993d100
parent487ee861de176090b055eba5b252b56a3b9973d6
Remove every trace of SERIAL_MAGIC

This means removing support for checking magic in amiserial.c
(SERIAL_PARANOIA_CHECK option), which was checking a magic field which
doesn't currently exist in the struct. That code hasn't built at least
since git.

Removing the definition from the header is safe anyway as that code was
from another driver and not including it.

Signed-off-by: Pascal Terjan <pterjan@google.com>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Link: https://lore.kernel.org/r/20191105192749.67533-1-pterjan@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/process/magic-number.rst
Documentation/translations/it_IT/process/magic-number.rst
Documentation/translations/zh_CN/process/magic-number.rst
drivers/net/wan/z85230.h
drivers/tty/amiserial.c