From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1E471305070; Tue, 30 Sep 2025 14:59:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759244349; cv=none; b=cEyn1SuvVW02bLIvIgbDT+btU10/ho/dWimYgs0jaTHIFVGg3Phzjf6XZrNVD4rt5/ZUMDcLQE/+3fNYMtLMqw1L46OEAmDp5g+0HcI2TIAf+Hc/VFOb+yV5mwoVEond0xWsYIVf+pb4zGRH5RkMyQvqcwV25rtPAVWjcvSIHIc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759244349; c=relaxed/simple; bh=k8TnyWw2xh+YJGAPDSAzW3kwx1XTuQYDtBgMbAuUD5o=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=DJYlwI0ngaEippSxWbypzhHP6WFD1ID9qfAy832qbTNYly6rgAGHxmQiP2z5nSWCZvpkhqddjD3jzy18VW44tnh8fQc+j5PdF9lVRl8fwu/Kjhk9rwNGbb3ZYrHVE1XBTt/2HCl26OX9H6l+Rh5PtVVk2IpXloKh/RjDdMeC7ko= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=d/I35Xjz; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="d/I35Xjz" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 81D8FC116B1; Tue, 30 Sep 2025 14:59:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1759244349; bh=k8TnyWw2xh+YJGAPDSAzW3kwx1XTuQYDtBgMbAuUD5o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=d/I35XjzJ7Vlev9JaJGKLwOVzlIbx3Z0Ps5+MFLx++Kr4SlYJf05hKhNNClYMoLWx GdD5uUX2uLD6WqEUGrKHqK5lrgQhMvvzrQYXCw54qCVCGtVyIdDYCal+C9H9Zhygi0 bGqCC1ckKN1Gd8reZfncVCwbsSUwhpYsB70ktPJg= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Cristian Ciocaltea , Takashi Iwai , Sasha Levin Subject: [PATCH 5.10 085/122] ALSA: usb-audio: Drop unnecessary parentheses in mixer_quirks Date: Tue, 30 Sep 2025 16:46:56 +0200 Message-ID: <20250930143826.480269801@linuxfoundation.org> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20250930143822.939301999@linuxfoundation.org> References: <20250930143822.939301999@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 5.10-stable review patch. If anyone has any objections, please let me know. ------------------ From: Cristian Ciocaltea [ Upstream commit c0495cef8b43ad61efbd4019e3573742e0e63c67 ] Fix multiple 'CHECK: Unnecessary parentheses around ...' reports from checkpatch.pl. Signed-off-by: Cristian Ciocaltea Signed-off-by: Takashi Iwai Link: https://patch.msgid.link/20250526-dualsense-alsa-jack-v1-5-1a821463b632@collabora.com Signed-off-by: Sasha Levin --- sound/usb/mixer_quirks.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sound/usb/mixer_quirks.c b/sound/usb/mixer_quirks.c index 14b0a91c19d34..8a84e89890772 100644 --- a/sound/usb/mixer_quirks.c +++ b/sound/usb/mixer_quirks.c @@ -376,10 +376,10 @@ static int snd_audigy2nx_controls_create(struct usb_mixer_interface *mixer) struct snd_kcontrol_new knew; /* USB X-Fi S51 doesn't have a CMSS LED */ - if ((mixer->chip->usb_id == USB_ID(0x041e, 0x3042)) && i == 0) + if (mixer->chip->usb_id == USB_ID(0x041e, 0x3042) && i == 0) continue; /* USB X-Fi S51 Pro doesn't have one either */ - if ((mixer->chip->usb_id == USB_ID(0x041e, 0x30df)) && i == 0) + if (mixer->chip->usb_id == USB_ID(0x041e, 0x30df) && i == 0) continue; if (i > 1 && /* Live24ext has 2 LEDs only */ (mixer->chip->usb_id == USB_ID(0x041e, 0x3040) || @@ -3012,7 +3012,7 @@ static int snd_djm_controls_update(struct usb_mixer_interface *mixer, int err; const struct snd_djm_device *device = &snd_djm_devices[device_idx]; - if ((group >= device->ncontrols) || value >= device->controls[group].noptions) + if (group >= device->ncontrols || value >= device->controls[group].noptions) return -EINVAL; err = snd_usb_lock_shutdown(mixer->chip); -- 2.51.0