Re: [PATCH bpf-next] bpf: remove unnecessary loop in task_file_seq_get_next()

From: Yonghong Song
Date: Sat Jul 06 2024 - 11:41:26 EST



On 7/4/24 8:19 AM, Dan Carpenter wrote:
After commit 0ede61d8589c ("file: convert to SLAB_TYPESAFE_BY_RCU") this
loop always iterates exactly one time. Delete the for statement and pull
the code in a tab.

Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>

LGTM. Thanks for the cleanup.

Acked-by: Yonghong Song <yonghong.song@xxxxxxxxx>