execve: fix build with CP/M emulator enabled
authorAlan Cox <alan@linux.intel.com>
Tue, 30 Dec 2014 19:03:27 +0000 (19:03 +0000)
committerAlan Cox <alan@linux.intel.com>
Tue, 30 Dec 2014 19:03:27 +0000 (19:03 +0000)
Kernel/syscall_exec.c

index 62bbc7b..d0b5f59 100644 (file)
@@ -60,7 +60,7 @@ int16_t _execve(void)
        staticfast struct s_argblk *abuf, *ebuf;
        int16_t (**sigp) ();
        int argc;
-       uint16_t emu_size, emu_copy, progptr;
+       uint16_t emu_size, progptr;
        uint16_t emu_ptr, emu_base;
        staticfast uint16_t top;
        uint8_t c;
@@ -136,7 +136,6 @@ int16_t _execve(void)
                top = ramtop;
 #else
                emu_size;
-               emu_copy;
                emu_ptr;
                udata.u_error = ENOEXEC;
                goto nogood2;