Commit f75a33ae authored by Committed by Antonio QuartulliBrowse files
batman-adv: Delete an unnecessary check before the function call "batadv_softif_vlan_free_ref"
The batadv_softif_vlan_free_ref() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring <firstname.lastname@example.org> Signed-off-by: Marek Lindner <email@example.com> Signed-off-by: Antonio Quartulli <firstname.lastname@example.org>