Skip to contentSkip to conversation

busy_poll: cleanup do-nothing placeholders

PATCH Applied Eliezer Tamir 2 participants 2 messages Aug 4, 2013 – Aug 5, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 busy_poll: cleanup do-nothing placeholders

When renaming ll_poll to busy poll, I introduced a typo in the name of the do-nothing placeholder for sk_busy_loop and called it sk_busy_poll.
This broke compile when busy poll was not configured. Cong Wang submitted a patch to fixed that.
This patch removes the now redundant, misspelled placeholder.

---

 include/net/busy_poll.h |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
include/net/busy_poll.h +0 -5
index f18b919..8e2dfc1 100644
@@ -162,11 +162,6 @@ static inline bool sk_can_busy_loop(struct sock *sk)
 	return false;
 }
 
-static inline bool sk_busy_poll(struct sock *sk, int nonblock)
-{
-	return false;
-}
-
 static inline void skb_mark_napi_id(struct sk_buff *skb,
 				    struct napi_struct *napi)
 {
maintainer Applied
#1 lore raw

From: Eliezer Tamir <[email protected]>
Date: Sun, 04 Aug 2013 12:55:48 +0300

Quoted 8 lines

When renaming ll_poll to busy poll, I introduced a typo in the name of the do-nothing placeholder for sk_busy_loop and called it sk_busy_poll.
This broke compile when busy poll was not configured. Cong Wang submitted a patch to fixed that.
This patch removes the now redundant, misspelled placeholder.

Applied, thanks.