tty: hvc: remove HVC_IUCV_MAGIC
authorнаб <nabijaczleweli@nabijaczleweli.xyz>
Fri, 16 Sep 2022 01:55:18 +0000 (03:55 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Sep 2022 14:12:34 +0000 (16:12 +0200)
commiteef7381d8134f249dc17138bb1794c249aff7f5a
tree175bdf868e260e0694ab0cbb4fbde7c93e7882fc
parent0e6357c3b61d6597fc799d05699cdd3cc07c08bd
tty: hvc: remove HVC_IUCV_MAGIC

According to Greg, in the context of magic numbers as defined in
magic-number.rst, "the tty layer should not need this and I'll gladly
take patches"

This stretches that definition slightly, since it multiplexes it with
the terminal number as a constant offset, but is equivalent

Acked-by: Jiri Slaby <jirislaby@kernel.org>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Ref: https://lore.kernel.org/linux-doc/YyMlovoskUcHLEb7@kroah.com/
Link: https://lore.kernel.org/r/8c8a2c9dfc1bfbe6ef3f3237368e483865fc1c29.1663288066.git.nabijaczleweli@nabijaczleweli.xyz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/hvc/hvc_iucv.c