]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
[IA64] fix compilation warning in sys32_epoll_wait()
authorPeter Chubb <peterc@gelato.unsw.edu.au>
Wed, 1 Jun 2005 05:37:00 +0000 (22:37 -0700)
committerTony Luck <tony.luck@intel.com>
Wed, 1 Jun 2005 22:44:01 +0000 (15:44 -0700)
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 <tony.luck@intel.com>
arch/ia64/ia32/sys_ia32.c

index 247a21c64aea33bb41ad5aa591323abcfb81aaaf..c1e20d65dd6cb4688391f928f43445aea644b66b 100644 (file)
@@ -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;