Commit 6bef6ca7 authored by Philip Jenvey's avatar Philip Jenvey

kill dead code

parent fe2dbf5d
......@@ -22,8 +22,6 @@ from rpython.rtyper.lltypesystem import lltype
from rpython.rtyper.tool import rffi_platform as platform
from rpython.rlib import rposix
from rpython.translator.tool.cbuild import ExternalCompilationInfo
from rpython.rtyper.lltypesystem.llmemory import itemoffsetof, offsetof
from rpython.rtyper.lltypesystem.rstr import STR
from rpython.rlib.objectmodel import specialize
from rpython.translator import cdir
......@@ -1001,8 +999,6 @@ class RegisterOs(BaseLazyRegistering):
[rffi.INT, rffi.VOIDP, rffi.SIZE_T],
rffi.SIZE_T)
offset = offsetof(STR, 'chars') + itemoffsetof(STR.chars, 0)
def os_read_llimpl(fd, count):
if count < 0:
raise OSError(errno.EINVAL, None)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment