From patchwork Wed Aug 1 10:47:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Colin King X-Patchwork-Id: 10552089 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 75BF2174A for ; Wed, 1 Aug 2018 10:47:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6199E2A1EF for ; Wed, 1 Aug 2018 10:47:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 546452A1F2; Wed, 1 Aug 2018 10:47:57 +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=-2.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E13422A1DE for ; Wed, 1 Aug 2018 10:47:56 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 7172F2677D5; Wed, 1 Aug 2018 12:47:53 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 3E5E426780D; Wed, 1 Aug 2018 12:47:51 +0200 (CEST) Received: from youngberry.canonical.com (youngberry.canonical.com [91.189.89.112]) by alsa0.perex.cz (Postfix) with ESMTP id 6D51E2677CE for ; Wed, 1 Aug 2018 12:47:49 +0200 (CEST) Received: from 1.general.cking.uk.vpn ([10.172.193.212] helo=localhost) by youngberry.canonical.com with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1fkofO-0006W8-QF; Wed, 01 Aug 2018 10:47:42 +0000 From: Colin King To: Jaroslav Kysela , Takashi Iwai , Jaya Kumar , Liam Girdwood , Mark Brown , Olivier Moysan , Arnaud Pouliquen , Maxime Coquelin , Alexandre Torgue , alsa-devel@alsa-project.org, linux-arm-kernel@lists.infradead.org Date: Wed, 1 Aug 2018 11:47:33 +0100 Message-Id: <20180801104742.4328-1-colin.king@canonical.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [alsa-devel] [PATCH 0/9] ALSA: remove redundant variables X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP From: Colin Ian King Clean up code by removing redundant variables that were detected by clang Colin Ian King (9): ALSA: asihpi: remove redundant variable max_streams ALSA: cs5535audio: remove redundant pointer 'dma' ALSA: emu10k1: remove redundant variable attn ALSA: ens137x: remove redundant array pcm_devs ALSA: sonicvibes: remove redundant pointer 'dir' ASoC: nau8540: remove redundant variable osrate ASoC: stm32: remove redundant pointers 'priv' and 'rtd' ALSA: usb-audio: remove redundant pointer 'urb' ALSA: intel_hdmi: remove redundant variable cfg_val sound/pci/asihpi/hpi6205.c | 5 ----- sound/pci/cs5535audio/cs5535audio.c | 7 +------ sound/pci/emu10k1/emupcm.c | 3 +-- sound/pci/ens1370.c | 3 +-- sound/pci/sonicvibes.c | 2 -- sound/soc/codecs/nau8540.c | 3 --- sound/soc/stm/stm32_adfsdm.c | 8 +------- sound/usb/endpoint.c | 2 -- sound/x86/intel_hdmi_audio.c | 2 -- 9 files changed, 4 insertions(+), 31 deletions(-)