summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorDavide Libenzi <davidel@xmailserver.org>2002-11-02 19:40:57 -0800
committerLinus Torvalds <torvalds@penguin.transmeta.com>2002-11-02 19:40:57 -0800
commit3a35d84ab5e98eb27a3be47eaee3392ea4fd7c10 (patch)
tree7199e469903cc8f5ed8992b4d76e3aee530ef834 /include/net
parentb1b782f7b7fced03a6dc51d3e52595fcfc9ac106 (diff)
[PATCH] epoll update r3
- EP_CTL_MOD drops an event if conditions events are met - The source file eventpoll.c moved from drivers/char to fs - Fixed a weirdness with tty's Missing: system calls for arch != i386 ...
Diffstat (limited to 'include/net')
-rw-r--r--include/net/sock.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/include/net/sock.h b/include/net/sock.h
index 4a4094b93d07..d2790e2ca00a 100644
--- a/include/net/sock.h
+++ b/include/net/sock.h
@@ -52,9 +52,6 @@
#include <asm/atomic.h>
#include <net/dst.h>
#include <net/scm.h>
-#include <linux/fs.h>
-#include <linux/file.h>
-#include <linux/fcblist.h>
/*
* This structure really needs to be cleaned up.
@@ -769,13 +766,8 @@ static inline unsigned long sock_wspace(struct sock *sk)
static inline void sk_wake_async(struct sock *sk, int how, int band)
{
- if (sk->socket) {
- if (sk->socket->file)
- file_send_notify(sk->socket->file, ion_band_table[band - POLL_IN],
- poll_band_table[band - POLL_IN]);
- if (sk->socket->fasync_list)
- sock_wake_async(sk->socket, how, band);
- }
+ if (sk->socket && sk->socket->fasync_list)
+ sock_wake_async(sk->socket, how, band);
}
#define SOCK_MIN_SNDBUF 2048