Re: [PATCH] [net/ethtool] ethnl_set_linkmodes: remove redundant null check
From: David Miller
Date: Mon Aug 03 2020 - 18:12:25 EST
From: Gaurav Singh <gaurav1086@xxxxxxxxx>
Date: Fri, 31 Jul 2020 00:58:44 -0400
> info cannot be NULL here since its being accessed earlier
> in the function: nlmsg_parse(info->nlhdr...). Remove this
> redundant NULL check.
>
> Signed-off-by: Gaurav Singh <gaurav1086@xxxxxxxxx>
Applied, thank you.