net: ibm: emac: remove unused sysrq handler for 'c' key
authorEric Biggers <ebiggers@google.com>
Tue, 4 Apr 2017 05:50:20 +0000 (22:50 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 5 Apr 2017 14:26:18 +0000 (07:26 -0700)
commit5e351410667ab0bf0dd1845730cba8b2211781e7
treef573d53365901a9c819cffdb0433ee340e416750
parent3f3c278c94dd994fe0d9f21679ae19b9c0a55292
net: ibm: emac: remove unused sysrq handler for 'c' key

Since commit d6580a9f1523 ("kexec: sysrq: simplify sysrq-c handler"),
the sysrq handler for the 'c' key has been sysrq_crash_op.  Debugging
code in the ibm_emac driver also tries to register a handler for the 'c'
key, but this has no effect because register_sysrq_key() doesn't replace
existing handlers.  Since evidently no one has cared enough to fix this
in the last 8 years, and it's very rare for drivers to register sysrq
handlers (for good reason), just remove the dead code.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/emac/Makefile
drivers/net/ethernet/ibm/emac/core.c
drivers/net/ethernet/ibm/emac/debug.c [deleted file]
drivers/net/ethernet/ibm/emac/debug.h
drivers/net/ethernet/ibm/emac/mal.c
drivers/tty/sysrq.c