commit | 6fd78a1a99c9580da49ee8f951fdce9846256375 | [log] [tgz] |
---|---|---|
author | Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> | Fri Jan 19 13:39:01 2018 +0900 |
committer | Petr Mladek <pmladek@suse.com> | Mon Jan 22 10:33:04 2018 +0100 |
tree | 72805c356b7735b3084d7a50161725339bbc5c4d | |
parent | cca10d58d25d271f05e1115132b4c2d913bb652e [diff] |
printk: drop redundant devkmsg_log_str memsets We copy in null terminated strings "on" and "off", no need to zero out devkmsg_log_str in control_devkmsg(). Link: http://lkml.kernel.org/r/20180119043901.1728-1-sergey.senozhatsky@gmail.com Cc: linux-kernel@vger.kernel.org Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> Reviewed-by: Steven Rostedt (VMware) <rostedt@goodmis.org> Signed-off-by: Petr Mladek <pmladek@suse.com>