]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: Remove redundant assignment to pointer t
authorColin Ian King <colin.i.king@gmail.com>
Tue, 7 Dec 2021 22:47:18 +0000 (22:47 +0000)
committerAndrii Nakryiko <andrii@kernel.org>
Thu, 9 Dec 2021 07:14:12 +0000 (23:14 -0800)
commitbc26edf33e68a436a789a4a05f8da787e84cf055
treecdeed449e51a4adec325005eb11167c0b39832b9
parent0ef048e6d3c555e12575eee3b1af008560a9d4a2
bpf: Remove redundant assignment to pointer t

The pointer t is being initialized with a value that is never read. The
pointer is re-assigned a value a littler later on, hence the initialization
is redundant and can be removed.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20211207224718.59593-1-colin.i.king@gmail.com
kernel/bpf/btf.c