Skip to content

Commit bf37d2b

Browse files
Eliezer Tamirdavem330
authored andcommitted
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. Signed-off-by: Eliezer Tamir <eliezer.tamir@linux.intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 136d8f3 commit bf37d2b

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

‎include/net/busy_poll.h‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -162,11 +162,6 @@ static inline bool sk_can_busy_loop(struct sock *sk)
162162
return false;
163163
}
164164

165-
static inline bool sk_busy_poll(struct sock *sk, int nonblock)
166-
{
167-
return false;
168-
}
169-
170165
static inline void skb_mark_napi_id(struct sk_buff *skb,
171166
struct napi_struct *napi)
172167
{

0 commit comments

Comments
 (0)