Re: [B.A.T.M.A.N.] [PATCH] batman-adv: Avoid relation operator comparison with bool

2018-02-20 Thread Antonio Quartulli
On 20/02/18 19:08, Sven Eckelmann wrote: > commit 34b3c3850e7d ("batman-adv: Distributed ARP Table - create DHT helper > functions") introduced a return check of batadv_compare_eth which uses a > boolean return value since commit 16af73458aca ("batman-adv: main, > batadv_compare_eth return bool")

[B.A.T.M.A.N.] [PATCH] batman-adv: Avoid relation operator comparison with bool

2018-02-20 Thread Sven Eckelmann
commit 34b3c3850e7d ("batman-adv: Distributed ARP Table - create DHT helper functions") introduced a return check of batadv_compare_eth which uses a boolean return value since commit 16af73458aca ("batman-adv: main, batadv_compare_eth return bool"). A relational (<, >, <= or >=) operator is not the