diff options
author | Philip Rakity <prakity@nvidia.com> | 2013-09-19 14:13:45 +0100 |
---|---|---|
committer | Ajay Nandakumar <anandakumarm@nvidia.com> | 2013-10-01 15:22:37 +0530 |
commit | 307aef28fd01f4630cf5b66e4cd1376c27289953 (patch) | |
tree | 4d424f13e25ab3e39233f5c6f7b6c5085f7bc651 /fs/eventpoll.c | |
parent | 23f3742528218c02940615d94e1756dba4d8224a (diff) |
fs: eventpoll fix unused variable warning
/nvidia/DEV_KERNEL/kernel/fs/eventpoll.c:
In function 'get_epoll_file_task':
/nvidia/DEV_KERNEL/kernel/fs/eventpoll.c:1682:21:
warning: unused variable 'whead' [-Wunused-variable]
Change-Id: I605474bff372c6dae0603caa26b33e1c62f07ab5
Signed-off-by: Philip Rakity <prakity@nvidia.com>
Reviewed-on: http://git-master/r/276697
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
(cherry picked from commit f82a5acac38fdd91ba5e1fa35cf31c67048dfdaf)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Diffstat (limited to 'fs/eventpoll.c')
-rw-r--r-- | fs/eventpoll.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/eventpoll.c b/fs/eventpoll.c index e92a15091d80..ab2157896d1d 100644 --- a/fs/eventpoll.c +++ b/fs/eventpoll.c @@ -1738,7 +1738,6 @@ struct task_struct *get_epoll_file_task(struct file *file) struct epitem *epi = NULL; struct eppoll_entry *pwq = NULL; struct task_struct *task = NULL; - wait_queue_head_t *whead = NULL; wait_queue_t *wq = NULL; lh = &file->f_ep_links; |