lkml.org 
[lkml]   [2017]   [Apr]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] net: ibm: emac: remove unused sysrq handler for 'c' key
From
From: Eric Biggers <ebiggers3@gmail.com>
Date: Mon, 3 Apr 2017 22:50:20 -0700

> From: Eric Biggers <ebiggers@google.com>
>
> 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>

Applied to net-next, thanks.

\
 
 \ /
  Last update: 2017-04-05 16:29    [W:0.035 / U:0.712 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site