Re: [PATCH net-next] r8169: simplify and improve check for dash

2018-02-23 Thread David Miller
From: Heiner Kallweit Date: Thu, 22 Feb 2018 21:37:48 +0100 > r8168_check_dash() returns false anyway for all chip versions not > supporting dash. So we can simplify the check conditions. > > In addition change the check functions to return bool instead of int, > because

[PATCH net-next] r8169: simplify and improve check for dash

2018-02-22 Thread Heiner Kallweit
r8168_check_dash() returns false anyway for all chip versions not supporting dash. So we can simplify the check conditions. In addition change the check functions to return bool instead of int, because they actually return a bool value. Signed-off-by: Heiner Kallweit ---