]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/net/busy_poll.h
net: fix a compile error when CONFIG_NET_LL_RX_POLL is not set
[karo-tx-linux.git] / include / net / busy_poll.h
index a14339c2985ff0f24e259861fa39dcf335f601b5..6cd8848fec682e34919ad7f81bcb0026b6db4cb5 100644 (file)
@@ -181,5 +181,10 @@ static inline bool busy_loop_timeout(unsigned long end_time)
        return true;
 }
 
+static inline bool sk_busy_loop(struct sock *sk, int nonblock)
+{
+       return false;
+}
+
 #endif /* CONFIG_NET_LL_RX_POLL */
 #endif /* _LINUX_NET_BUSY_POLL_H */