From: Peter Chubb Date: Wed, 1 Jun 2005 05:37:00 +0000 (-0700) Subject: [IA64] fix compilation warning in sys32_epoll_wait() X-Git-Tag: v2.6.12-rc6~31^2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=d8caebd285a084ee1e4d484ce597865228614067;p=linux-2.6-omap-h63xx.git [IA64] fix compilation warning in sys32_epoll_wait() This gets rid of an unused variable `error' in sys_ia32.c:sys32_epoll_wait() Getting rid of this one makes parsing the output of the kernecomp autobuild easier --- searching for `Error' to find a problem kept hitting this one, even though it's only a warning. Signed-off-by: Tony Luck --- diff --git a/arch/ia64/ia32/sys_ia32.c b/arch/ia64/ia32/sys_ia32.c index 247a21c64ae..c1e20d65dd6 100644 --- a/arch/ia64/ia32/sys_ia32.c +++ b/arch/ia64/ia32/sys_ia32.c @@ -2427,7 +2427,7 @@ sys32_epoll_wait(int epfd, struct epoll_event32 __user * events, int maxevents, { struct epoll_event *events64 = NULL; mm_segment_t old_fs = get_fs(); - int error, numevents, size; + int numevents, size; int evt_idx; int do_free_pages = 0;