diff options
| author | 2014-04-03 14:48:43 -0700 | |
|---|---|---|
| committer | 2014-04-03 16:21:07 -0700 | |
| commit | fce6e0338abe910ba6d4db0657ae8adc6aa1a72b (patch) | |
| tree | 4b3857ee351732d6c6da99c246cd6b8ee1fb1a7f /include/linux | |
| parent | printk: use also the last bytes in the ring buffer (diff) | |
printk: do not compute the size of the message twice
This is just a tiny optimization. It removes duplicate computation of
the message size.
Signed-off-by: Petr Mladek <pmladek@suse.cz>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jan Kara <jack@suse.cz>
Cc: Michal Hocko <mhocko@suse.cz>
Cc: Kay Sievers <kay@vrfy.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
