commit | 71fed0bc8665969f4681fc5772e5df42bfcc472e | [log] [tgz] |
---|---|---|
author | Gaurav Singh <gaurav1086@gmail.com> | Fri Jul 31 00:58:44 2020 -0400 |
committer | David S. Miller <davem@davemloft.net> | Mon Aug 03 15:11:49 2020 -0700 |
tree | d2bd7c9b00cc75a214c4911ff791abc2ef385b72 | |
parent | 9aba6c5b49254d5bee927d81593ed4429e91d4ae [diff] |
ethtool: ethnl_set_linkmodes: remove redundant null check 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@gmail.com> Reviewed-by: Michal Kubecek <mkubecek@suse.cz> Signed-off-by: David S. Miller <davem@davemloft.net>