busy_poll: cleanup do-nothing placeholders
authorEliezer Tamir <eliezer.tamir@linux.intel.com>
Sun, 4 Aug 2013 09:55:48 +0000 (12:55 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Aug 2013 02:41:27 +0000 (19:41 -0700)
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>
include/net/busy_poll.h

index f18b91966d3de718528ae3d44887e937514718fc..8e2dfc106aed1ccb7472f3e453770a2c30c23c43 100644 (file)
@@ -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)
 {