[commits] [openwrt-feed-devel] master: batman-adv-devel: Drop compat-hack for __poll_t (ea0bab9)

postmaster at open-mesh.org postmaster at open-mesh.org
Sat Mar 9 13:02:46 CET 2019


Repository : ssh://git@open-mesh.org/openwrt-feed-devel

On branch  : master

>---------------------------------------------------------------

commit ea0bab9ebf2a63b89a3acf55d6fac042d4d0dd62
Author: Sven Eckelmann <sven at narfation.org>
Date:   Fri Feb 22 20:19:42 2019 +0100

    batman-adv-devel: Drop compat-hack for __poll_t
    
    __poll_t is already defined by the mac80211's backports and
    doesn't have to be redefined in the compat-hacks.h.
    
    Signed-off-by: Sven Eckelmann <sven at narfation.org>


>---------------------------------------------------------------

ea0bab9ebf2a63b89a3acf55d6fac042d4d0dd62
 batman-adv-devel/src/compat-hacks.h | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/batman-adv-devel/src/compat-hacks.h b/batman-adv-devel/src/compat-hacks.h
index 5733d69..85c57be 100644
--- a/batman-adv-devel/src/compat-hacks.h
+++ b/batman-adv-devel/src/compat-hacks.h
@@ -167,13 +167,6 @@ static inline int batadv_cfg80211_get_station(struct net_device *dev,
 
 #endif /* < KERNEL_VERSION(4, 18, 0) */
 
-
-#ifdef __CHECK_POLL
-typedef unsigned __bitwise __poll_t;
-#else
-typedef unsigned __poll_t;
-#endif
-
 #endif /* < KERNEL_VERSION(4, 16, 0) */
 
 #if LINUX_VERSION_CODE < KERNEL_VERSION(5, 0, 0)



More information about the commits mailing list