From patchwork Wed Sep 13 14:08:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 138848 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9ecd:0:b0:3f2:4152:657d with SMTP id t13csp1122713vqx; Wed, 13 Sep 2023 07:23:25 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHXasscFjJgFPqDpRjj95GF3AeE3GRpYYvWyNWn7VUaodAv8im3n+xxmX1HmNREJkH8sN81 X-Received: by 2002:a17:902:bf49:b0:1bf:728:745b with SMTP id u9-20020a170902bf4900b001bf0728745bmr2649883pls.49.1694615005491; Wed, 13 Sep 2023 07:23:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694615005; cv=none; d=google.com; s=arc-20160816; b=iho/ZH5yIbC0nbJ2UOt1vDnstj3iohOrNBuOjCCsMWXtOSN0DuThmBYRlntLtC+BtJ oBr8z7sFoFmEotkiY8u0V6ha87y+yl6aZWHG295feLCLArecT9povQDt/Q32FJfjCOTm 0OxBRgg+VgOSquV++FIaz+lpmPXGJob3Ef0VJxXMjeH6SkPii1iTR5I4z7V8E2k+Lv1r DiNLFXkIC4PiV2VVQWji/ai5oED51KLNALFwoZa4Z6SJGXWOzD1Ydykw1zktBdRHpUgH ISbkY8vAQ/llbjHTb5mUbYN6tDZQyu/CmmW7jrIRZoDFW5tGrrNR6oRhiZMhqT4Caj3B eaqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=TmFLdVgj4Ahh+ej7r7Fe+54b0iGRaa9uiPEB9P7/HaQ=; fh=fKMC3BTGjlLXl5EvEhzqt3WHCynqYJKK7wAqLAOkWUw=; b=FhTU2OZYmn3R+aJvkh4TtoK8tQaBWisbW+LjZd7FCqKU9TDE3KBue28j5BFnmtW8yf m3tR/MDwwoSaK/pCBrjGzVqadAX/p7fbE8hAZHoL2UwCv0g21q/hz4WqFyYgkt3U6d2+ SALMaCEYKCU58NL8JrstoeqxOAXx1lvCp6MlA1l9LqWN7jBwEX6bACkWDaG8/eyNO/yW 2EjsKebQ847MkNgqvs+gDqB6TjN4qG0vMdHtCkueMmMTBrneU4HlrCfBKvpLlrmF6w3r Dyq6TD1+jr5W8bfYkQq+SrwFl+lWXyhTb/WQeZhz7MRTkuXMFJzBZ8zlnZ/rFQS4O0fM 0czw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id c1-20020a170902d48100b001c3b5a13286si6015477plg.20.2023.09.13.07.23.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 07:23:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 5736A803F131; Wed, 13 Sep 2023 07:11:21 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241697AbjIMOKv (ORCPT + 36 others); Wed, 13 Sep 2023 10:10:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52990 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241489AbjIMOKC (ORCPT ); Wed, 13 Sep 2023 10:10:02 -0400 Received: from michel.telenet-ops.be (michel.telenet-ops.be [IPv6:2a02:1800:110:4::f00:18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6FBE02118 for ; Wed, 13 Sep 2023 07:08:53 -0700 (PDT) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:f674:9611:cd05:f25a]) by michel.telenet-ops.be with bizsmtp id lS8p2A00W3fvA4V06S8qJZ; Wed, 13 Sep 2023 16:08:51 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1qgQXe-003csm-07; Wed, 13 Sep 2023 16:08:47 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1qgQXv-00FV5g-BU; Wed, 13 Sep 2023 16:08:47 +0200 From: Geert Uytterhoeven To: linux-m68k@lists.linux-m68k.org Cc: Arnd Bergmann , Finn Thain , Michael Schmitz , Philip Blundell , Greg Ungerer , Joshua Thompson , Sam Creasey , Laurent Vivier , linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH v2 29/52] m68k: mac: Remove unused sine_data[] Date: Wed, 13 Sep 2023 16:08:19 +0200 Message-Id: <75dbc0a141490daf9febfb8cb4a43ae87fbe3352.1694613528.git.geert@linux-m68k.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Wed, 13 Sep 2023 07:11:21 -0700 (PDT) X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1776932623933778205 X-GMAIL-MSGID: 1776932623933778205 When building with W=1: arch/m68k/mac/macboing.c:29:26: warning: ‘sine_data’ defined but not used [-Wunused-const-variable=] 29 | static const signed char sine_data[] = { | ^~~~~~~~~ The predefined sine table was superseded by a table calculated at run-time in v2.2.0. Signed-off-by: Geert Uytterhoeven Acked-by: Arnd Bergmann --- v2: - Add Acked-by. --- arch/m68k/mac/macboing.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/arch/m68k/mac/macboing.c b/arch/m68k/mac/macboing.c index 4de6229c7bfdebce..76431241347682fc 100644 --- a/arch/m68k/mac/macboing.c +++ b/arch/m68k/mac/macboing.c @@ -22,15 +22,6 @@ static int mac_asc_inited; */ static __u8 mac_asc_wave_tab[ 0x800 ]; -/* - * Alan's original sine table; needs interpolating to 0x800 - * (hint: interpolate or hardwire [0 -> Pi/2[, it's symmetric) - */ -static const signed char sine_data[] = { - 0, 39, 75, 103, 121, 127, 121, 103, 75, 39, - 0, -39, -75, -103, -121, -127, -121, -103, -75, -39 -}; - /* * where the ASC hides ... */