Subject: Re: [PATCH net-next] net: usb: pegasus: replace simple_strtoul with kstrtouint

From: Jakub Kicinski <[email-masked]>
Date: Fri, 8 May 2026 18:17:41 -0700

On Wed,  6 May 2026 20:56:36 +0530 Sajal Gupta wrote:
> +	token = strsep(&id, ":");
> +	if (token) {
> +		err = kstrtouint(token, 16, &vendor_id);
> +		if (err)
> +			return;
> +	}

Why bother capturing err if we can't return it?

if (token && kstrtouint(token, 16, &vendor_id))