Subject: Re: [PATCH iproute2] lib: bpf_glue: remove useless assignment

From: Stephen Hemminger <[email-masked]>
Date: Tue, 10 Aug 2021 20:00:48 -0700

On Sat,  7 Aug 2021 18:58:02 +0200
Andrea Claudi <[email-masked]> wrote:

> -	while ((s = fgets(buf, sizeof(buf), fp)) != NULL) {
> +	while (fgets(buf, sizeof(buf), fp) != NULL) {
>  		if ((s = strstr(buf, "libbpf.so.")) != NULL) {

Ok. but it would be good to get rid of the unnecessary assignment in conditional as well.