summaryrefslogtreecommitdiff
path: root/net/802/stp.c
diff options
context:
space:
mode:
authorPierre Kuo <vichy.kuo@gmail.com>2017-07-11 14:40:55 +0800
committerPetr Mladek <pmladek@suse.com>2017-07-27 15:04:21 +0200
commitaec47caa747e1e15a3363dc0b0db37e51b8d4f15 (patch)
treebf92b7f202c4acbcaa226b2bd0a679016a6b7c46 /net/802/stp.c
parenteed1fc87795362fd868bdc960d7b96d25f81eae3 (diff)
printk: Modify operators of printed_len and text_len
With commit <ddb9baa82226> ("printk: report lost messages in printk safe/nmi contexts") and commit <8b1742c9c207> ("printk: remove zap_locks() function"), it seems we can remove initialization, "=0", of text_len and directly assign result of log_output to printed_len. Link: http://lkml.kernel.org/r/1499755255-6258-1-git-send-email-vichy.kuo@gmail.com Cc: rostedt@goodmis.org Cc: linux-kernel@vger.kernel.org Cc: joe@perches.com Signed-off-by: Pierre Kuo <vichy.kuo@gmail.com> Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> Signed-off-by: Petr Mladek <pmladek@suse.com>
Diffstat (limited to 'net/802/stp.c')
0 files changed, 0 insertions, 0 deletions