From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) by sourceware.org (Postfix) with ESMTP id 270793858D28 for ; Fri, 29 Dec 2023 05:21:45 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 270793858D28 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gentoo.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gentoo.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 270793858D28 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=140.211.166.183 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1703827306; cv=none; b=XVyp6o3ve4a7lQNHoGTrmU/ob6P7FxWjxil+Fcz+QJ4lY/eM8wZSO3MGWQVL7RqWc4L/U/Qh0rTMjxCdplZIfSgOGteLfgMFHV8wTVjhqo18qxxyF3RphljIYM6eYNnReKRBhiqReLUXM+x+2Hoe0f8co6H1AEHF3QdgQe2aHJE= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1703827306; c=relaxed/simple; bh=+tFyS4J42Foj+VGSg/czMDFI6uee0Hm7eMTWeJPlMNs=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=tlAtt4KtNto5m5GP8aO1Xbr8yc4KhgVyj+wOJNWeHkXFfLWue8nKGXqxdwy0XSrV3nxhrS7hZI6GiBFXdLmq7popWfWhGiZ+0mhkgFZm4L2TgMLGNxDCDlwC6/kBLRv0+/2R07lXSNdQTHbJsmrZxNMiqpZuy3jf5oXLJ5Nah40= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by smtp.gentoo.org (Postfix, from userid 559) id 9F5A4340CC9; Fri, 29 Dec 2023 05:21:44 +0000 (UTC) From: Mike Frysinger To: newlib@sourceware.org Subject: [PATCH 1/2] libgloss: ft32: delete unused/invalid assembly file Date: Fri, 29 Dec 2023 00:21:41 -0500 Message-ID: <20231229052142.21873-1-vapier@gentoo.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-11.3 required=5.0 tests=BAYES_00,GIT_PATCH_0,JMQ_SPF_NEUTRAL,KAM_DMARC_STATUS,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: This is a .c file, not assembly, and it's a duplicate (same content) as the existing sim-lseek.c. Delete it since it's unused and doesn't actually compile. --- libgloss/ft32/sim-lseek.S | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 libgloss/ft32/sim-lseek.S diff --git a/libgloss/ft32/sim-lseek.S b/libgloss/ft32/sim-lseek.S deleted file mode 100644 index 488edf3dfad6..000000000000 --- a/libgloss/ft32/sim-lseek.S +++ /dev/null @@ -1,31 +0,0 @@ -/* - * sim-lseek.S -- write interface for FT32 simulator - * - * Copyright (C) 2015 FTDI (support@ftdichip.com) - * - * The authors hereby grant permission to use, copy, modify, distribute, - * and license this software and its documentation for any purpose, provided - * that existing copyright notices are retained in all copies and that this - * notice is included verbatim in any distributions. No written agreement, - * license, or royalty fee is required for any of the authorized uses. - * Modifications to this software may be copyrighted by their authors - * and need not follow the licensing terms described here, provided that - * the new terms are clearly indicated on the first page of each file where - * they apply. - */ - -#include -#include - -/* - * lseek -- Since a simulated serial port is non-seekable, we return - * an error. - */ -off_t -_lseek (int fd, - off_t offset, - int whence) -{ - errno = ESPIPE; - return ((off_t)-1); -} -- 2.43.0