From patchwork Wed Jul 6 12:02:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Cezary Rojewski X-Patchwork-Id: 12908050 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8E930C43334 for ; Wed, 6 Jul 2022 11:55:41 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id CE5F916DC; Wed, 6 Jul 2022 13:54:49 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz CE5F916DC DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1657108539; bh=X6gV7qcpoldUW0X/zLIOxmQwvsTDnn/XfYDWUERJDe0=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=j1ZPcl7beA99o2O0N97YIDs4IGvdk1CLJ/GgSFuMMXuMyp/ifx4VaQRCE60H31exu BwODJzK9CTjFQLGe3m2jM5/uhjtRnnZTFwQ+7TYG7F/tkcUUZED32lQ487eIrBivyj D/YYSDr9x/VBiGEoFlwjKedeFm5NoJq7oKSbqAbI= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id BDE2AF80566; Wed, 6 Jul 2022 13:52:56 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id B4425F8055A; Wed, 6 Jul 2022 13:52:53 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 1B0FBF80553 for ; Wed, 6 Jul 2022 13:52:49 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 1B0FBF80553 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="SHO8rESg" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1657108371; x=1688644371; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=X6gV7qcpoldUW0X/zLIOxmQwvsTDnn/XfYDWUERJDe0=; b=SHO8rESgKytKGgv1U/5RN4lKAE3PeVV+8s2PZpMU8jwr/0RdjvG1zkPF TwenMhbGFkzQT/pDJ2Vi7P5oQfnmVPqa13tC6rY8RpZKUL2QOg47yr+oI C7tBvo5KK4PTTVl5lOPZeK4LtSXbM2LPj6NnTq0cx+H+XYKP8U38qY76T EpQ/foObr6otRq9g7hpYYtnToNQQxxmk1fIbYLg4T5ZI680sPUO0gpmyw 3ZnorvmbkR/bpnlpjM8HdFFlf+BtVjLwYOUlbCXgjft/yzDf3TNC/vZWA Qnn7Xu3BMHA4IkC9NAAem+QMRFsLz46iXn9ppCbjOPnnJPNJIczjhMuKn g==; X-IronPort-AV: E=McAfee;i="6400,9594,10399"; a="370042658" X-IronPort-AV: E=Sophos;i="5.92,249,1650956400"; d="scan'208";a="370042658" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jul 2022 04:52:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,249,1650956400"; d="scan'208";a="920136316" Received: from crojewsk-ctrl.igk.intel.com ([10.102.9.28]) by fmsmga005.fm.intel.com with ESMTP; 06 Jul 2022 04:52:47 -0700 From: Cezary Rojewski To: alsa-devel@alsa-project.org, tiwai@suse.com Subject: [PATCH 8/9] ALSA: hda: Remove unused macro definition Date: Wed, 6 Jul 2022 14:02:29 +0200 Message-Id: <20220706120230.427296-9-cezary.rojewski@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220706120230.427296-1-cezary.rojewski@intel.com> References: <20220706120230.427296-1-cezary.rojewski@intel.com> MIME-Version: 1.0 Cc: Cezary Rojewski , pierre-louis.bossart@linux.intel.com, hdegoede@redhat.com, broonie@kernel.org, amadeuszx.slawinski@linux.intel.com X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 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" From: Amadeusz Sławiński It is not used anywhere in the file, so there is no need to keep it. Signed-off-by: Amadeusz Sławiński Signed-off-by: Cezary Rojewski --- sound/hda/ext/hdac_ext_controller.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/sound/hda/ext/hdac_ext_controller.c b/sound/hda/ext/hdac_ext_controller.c index b072392725c7..a42f66f561f5 100644 --- a/sound/hda/ext/hdac_ext_controller.c +++ b/sound/hda/ext/hdac_ext_controller.c @@ -14,13 +14,6 @@ #include #include -/* - * maximum HDAC capablities we should parse to avoid endless looping: - * currently we have 4 extended caps, so this is future proof for now. - * extend when this limit is seen meeting in real HW - */ -#define HDAC_MAX_CAPS 10 - /* * processing pipe helpers - these helpers are useful for dealing with HDA * new capability of processing pipelines