UBUNTU: SAUCE: opennsl: bcm-knet: remove redundant null checks on dev->name
BugLink: https://launchpad.net/bugs/1718388 dev->name is a char array and hence can never be null and so the null checks on dev->name are redundant. Remove them. Detected by CoverityScan CID#1456897, CID#145690 ("Array compared against 0") Signed-off-by: Colin Ian King <colin.king@canonical.com> Acked-by: Juerg Haefliger <juerg.haefliger@canonical.com> Acked-by: Stefan Bader <stefan.bader@canonical.com> [kleber: adapted for new version path; adapted for context (priv->dev->name instead of dev->name)] Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
Showing
Please register or sign in to comment