]> www.infradead.org Git - users/willy/linux.git/commit
bpf: Remove unused variable "prev_state"
authorYing Zhang <yingzhang098@163.com>
Tue, 21 May 2024 16:17:02 +0000 (16:17 +0000)
committerAndrii Nakryiko <andrii@kernel.org>
Tue, 21 May 2024 17:48:19 +0000 (10:48 -0700)
commit1b0215a3633a4c54ed7ec3af93e7a782dda8d965
tree301d934b4eb09ab3c45b71e446dab2b2f7ecaa42
parentf4aba3471cfb9ccf69b476463f19b4c50fef6b14
bpf: Remove unused variable "prev_state"

The variable "prev_state" is not used for any actual operations

v2: Fix commit message and description.

Signed-off-by: Ying Zhang <yingzhang098@163.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Yonghong Song <yonghong.song@linux.dev>
Link: https://lore.kernel.org/bpf/20240521161702.4339-1-yingzhang098@163.com
samples/bpf/cpustat_kern.c