From patchwork Wed Dec 19 07:33:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luc Van Oostenryck X-Patchwork-Id: 10736817 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B546514E5 for ; Wed, 19 Dec 2018 07:33:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 92F962AC17 for ; Wed, 19 Dec 2018 07:33:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 828E32AC4D; Wed, 19 Dec 2018 07:33:14 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2BFC82AC17 for ; Wed, 19 Dec 2018 07:33:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725298AbeLSHdN (ORCPT ); Wed, 19 Dec 2018 02:33:13 -0500 Received: from mail-ed1-f66.google.com ([209.85.208.66]:35312 "EHLO mail-ed1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725290AbeLSHdN (ORCPT ); Wed, 19 Dec 2018 02:33:13 -0500 Received: by mail-ed1-f66.google.com with SMTP id x30so16105879edx.2 for ; Tue, 18 Dec 2018 23:33:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=7uacikIH2/ilWlsAvfvasR/yxPAj/i1xjY5zn5QsWKA=; b=GNIjPR4moVY222Gn/PqWP3zta/Az9rOEprnuoCfnXjiGyHv7YyAPbfLopAoEOId5r4 dAMSkQnD4zVEZ8H5GFSR5+eHTn8m7Sgs1lhTRDNW6YaJRxhvN5svRm9Yl08RmME3dEME N8atEovJyZ2+Em1TCwwFSqBgwhhdL2Puuts/55OEc1Tcg0wc2mDJuCW2R/lW9M+RgBlJ dHqeBtbPybEaWJzQO4lTUERJE6lIvKnkaNWuRP9AjRsws3S4SyYQQq9w9xC/RntVxuVv 3fBltARsMo64BrGGHSigrYvojCqUwT53L+ciUhvGMVXEwwADeF09X1IaavYtdRap/yvl mDSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=7uacikIH2/ilWlsAvfvasR/yxPAj/i1xjY5zn5QsWKA=; b=pdnfSa+pZpypseCdlhDjmZJqCqI0Qksny0CQCPufYGQdwkjT2DAZDA0l6NwzivmohP iJoctyeYWBLn75gmWtayaAG1M6SNorGX7yCKeR+odtuKZFlB7UrBgipLNK+g+cdQQVns et4w3lmLsOLXHHBoYwDR1nEVjNuIgX/AZQyrnfxPP+USOOw1c9PohKScUcZdNqMI2oI+ 6vG+QBr6ynf6Dm6LzyuEydfMR2VjzDQ4uY7+1C7vg7SX8zRoxAt7sjJgYGgeInbwUmku e0StTMnYYNcroFuDfrv80ubz0A1csE/QNwOfWy8JBoDjts2kEV7CwRvty4LdEg83+roW goSQ== X-Gm-Message-State: AA+aEWb9Wh/xQ/X/RlOEWVobTx8iGsyk3VyM9zLjLjrKH1rEW/h7YFTw W+SJdGzfd+hwOux/R4oEzAk0bkiZ X-Google-Smtp-Source: AFSGD/XBEAdsia1uBdtr6maovO1ICsxsYoY9f0cG5ZFPDYGI0agXWY00n9xMam8VbHAUeVe2yq5K9Q== X-Received: by 2002:a50:b1af:: with SMTP id m44mr18810327edd.47.1545204791658; Tue, 18 Dec 2018 23:33:11 -0800 (PST) Received: from localhost.localdomain ([2a02:a03f:404d:df00:cd3d:d605:19af:24d0]) by smtp.gmail.com with ESMTPSA id 49sm5136958edz.59.2018.12.18.23.33.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Dec 2018 23:33:11 -0800 (PST) From: Luc Van Oostenryck To: linux-sparse@vger.kernel.org Cc: Luc Van Oostenryck Subject: [PATCH] remove unneeded declarations in "compat.h" Date: Wed, 19 Dec 2018 08:33:06 +0100 Message-Id: <20181219073306.54780-1-luc.vanoostenryck@gmail.com> X-Mailer: git-send-email 2.20.0 MIME-Version: 1.0 Sender: linux-sparse-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sparse@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP struct stream & struct stat are defined in this file but were only used for identical_files() which has been removed years ago. So, remove these declarations. Signed-off-by: Luc Van Oostenryck --- compat.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/compat.h b/compat.h index 9814ae3e8..4bba47ad2 100644 --- a/compat.h +++ b/compat.h @@ -10,8 +10,6 @@ * - "string to long double" (C99 strtold()) * Missing in Solaris and MinGW */ -struct stream; -struct stat; /* * Our "blob" allocator works on chunks that are multiples