netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net] busy_poll: cleanup do-nothing placeholders
@ 2013-08-04  9:55 Eliezer Tamir
  2013-08-05  2:41 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Eliezer Tamir @ 2013-08-04  9:55 UTC (permalink / raw)
  To: David Miller; +Cc: linux-kernel, netdev, Eliezer Tamir, Eliezer Tamir

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>
---

 include/net/busy_poll.h |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/include/net/busy_poll.h b/include/net/busy_poll.h
index f18b919..8e2dfc1 100644
--- a/include/net/busy_poll.h
+++ b/include/net/busy_poll.h
@@ -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)
 {

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH net] busy_poll: cleanup do-nothing placeholders
  2013-08-04  9:55 [PATCH net] busy_poll: cleanup do-nothing placeholders Eliezer Tamir
@ 2013-08-05  2:41 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2013-08-05  2:41 UTC (permalink / raw)
  To: eliezer.tamir; +Cc: linux-kernel, netdev, eliezer

From: Eliezer Tamir <eliezer.tamir@linux.intel.com>
Date: Sun, 04 Aug 2013 12:55:48 +0300

> 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>

Applied, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-08-05  2:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-04  9:55 [PATCH net] busy_poll: cleanup do-nothing placeholders Eliezer Tamir
2013-08-05  2:41 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).