diff options
author | 2020-10-15 20:13:25 -0700 | |
---|---|---|
committer | 2020-10-16 11:11:22 -0700 | |
commit | ac05b7a1b48ba9fc79937a08db4c7131dba8fc5f (patch) | |
tree | a3ffd2f2f19223def0797b6c9e1286116a59b4b9 /scripts/gdb | |
parent | panic: dump registers on panic_on_warn (diff) | |
download | linux-rng-ac05b7a1b48ba9fc79937a08db4c7131dba8fc5f.tar.xz linux-rng-ac05b7a1b48ba9fc79937a08db4c7131dba8fc5f.zip |
kernel/relay.c: drop unneeded initialization
The variable 'consumed' is initialized with the consumed count but
immediately after that the consumed count is updated and assigned to
'consumed' again thus overwriting the previous value. So, drop the
unneeded initialization.
Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Link: https://lkml.kernel.org/r/20201005205727.1147-1-sudipm.mukherjee@gmail.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/gdb')
0 files changed, 0 insertions, 0 deletions