batman-adv: Drop reduntant batadv interface check
authorSven Eckelmann <sven@narfation.org>
Wed, 2 Jun 2021 19:54:30 +0000 (21:54 +0200)
committerSimon Wunderlich <sw@simonwunderlich.de>
Wed, 2 Jun 2021 20:25:45 +0000 (22:25 +0200)
commit020577f879be736bc87e1f48dfad7220923401c0
treec29e02503c5dca46e1a880804634e487771f897c
parent170258ce1c71dc4e03d5cb92b5f03cfb01941514
batman-adv: Drop reduntant batadv interface check

If batadv_hardif_enable_interface is called then its called from its
callback ndo_add_slave. It is therefore not necessary to check if it is a
batadv interface.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
net/batman-adv/hard-interface.c