summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Aaberg <jonas.aberg@stericsson.com>2011-05-31 13:45:18 +0200
committersaid m bagheri <ebgheri@steludxu2848.(none)>2011-06-17 13:42:09 +0200
commitd9b926c98ccd263d79a01bc7ab4ee948ea90c561 (patch)
tree39c85283ea8dc4f8fe2481ad1db6bbba988e6461
parent3295cb454f2b8adcd83e92bfb0584b50e2b2ead9 (diff)
fs: eventpoll: Fix build warning
Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com> Change-Id: If7ff99f1757e79176cabcb9cc1ade5ae16ac1560 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/24251 Reviewed-by: QATEST Reviewed-by: Ulf HANSSON <ulf.hansson@stericsson.com>
-rw-r--r--fs/eventpoll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/eventpoll.c b/fs/eventpoll.c
index 4a09af9e9a6..c689dce4dff 100644
--- a/fs/eventpoll.c
+++ b/fs/eventpoll.c
@@ -1140,7 +1140,7 @@ static int ep_poll(struct eventpoll *ep, struct epoll_event __user *events,
{
int res, eavail, timed_out = 0;
unsigned long flags;
- long slack;
+ long slack = 0;
wait_queue_t wait;
ktime_t expires, *to = NULL;