Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp6568402ybx; Mon, 11 Nov 2019 11:05:48 -0800 (PST) X-Google-Smtp-Source: APXvYqzdzGy0u4HggafZ5tA0lEogg3RtoCAearJxS9lTwWCFnYLmsWJpWycFkzkWavE4jOane/dK X-Received: by 2002:a05:6402:1718:: with SMTP id y24mr27473759edu.220.1573499148832; Mon, 11 Nov 2019 11:05:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573499148; cv=none; d=google.com; s=arc-20160816; b=FCXiLktcmNSau5fmXcUvD1pGslewT9jXOrtSz99PZOp65xcCNhmaMoPPugEJ+cXWRD Mia+PyA1yfa7S2E/t3Us/h/uZomP6jwLcoDRY1o/JtwO5JTlgpci8OyqEJgazBwNWnX1 RP4+/QNIdBwG+T96sQkM8UpkDlK6+SzdHW/7npcoq8wzh8LuDfnZLFdNl88VE6ZpZf9Y KdqhbBSoB2iqZFghmFX9lXFkQs5xjTgt1NgruPb5MNNOKjz8ZOltzQR/BzGNlV0U+3EG RBR2gYKLjRh/jwS6qmwxHX46fRHAiPWerhk4Ih1CVv0QGyEiYzyqGdEMaJKwXW79FO95 v/xg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=VA0Nd5pXZ6qObD0mN+ZUfoqo5kNFORzpVnG9tSpJwbs=; b=lzwRsxbc74b133DR6xfpApAVY56YvDU/ShKGqOIX5FsYKGiCSj02WFnlUwsIyci69K +kQM2nBKAHmbALQvHOSXNSXqtsugWQqXpJNqUXOGzULrTwCtDhiF1K4/ZZJAvce14xVX aCvJft73Q31/BxVo1MndvntJI+XJasXWb/afBnlv88CcDgSxflGb11XbAr60wl7jndNu ge3bu1iH1vMx7IwwnPHr9DlZVqjwPGZ350nJCjF2Rvpt+aG/vf44P5dVakksf5N2l4zF 2ccDwfVNT1/7TwKYInVe3hxqXbK0t22GsreqU+HxEJQ41CVdSNvJ47aiuWEOwon0E7zE c6Bg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="JRkrNxg/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h21si11966036edh.110.2019.11.11.11.05.24; Mon, 11 Nov 2019 11:05:48 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="JRkrNxg/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729632AbfKKSna (ORCPT + 99 others); Mon, 11 Nov 2019 13:43:30 -0500 Received: from mail.kernel.org ([198.145.29.99]:34796 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729082AbfKKSn2 (ORCPT ); Mon, 11 Nov 2019 13:43:28 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 56B49214E0; Mon, 11 Nov 2019 18:43:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1573497807; bh=wvUzQEadWN/VgQ5ZZU2lNYzDF824oKCzfHjNlPBhoqA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JRkrNxg/fOLxpYJYVr7jrpP0E1fvsvQAdxnYVV+g5Au+BKV57MJBHIo/8aT7HmIgj 9fAtK0f+lHCzOHGuuRKktVni93RbPXHfBxuu+f/5FPJKMR1JeC2XHA3ErUWtWKFGf0 NI82tN6rm0A6qtBTQN13P8X70iFdMKqhL4rOIYrw= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Dan Carpenter , Takashi Iwai Subject: [PATCH 4.19 063/125] ALSA: usb-audio: remove some dead code Date: Mon, 11 Nov 2019 19:28:22 +0100 Message-Id: <20191111181448.702698852@linuxfoundation.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191111181438.945353076@linuxfoundation.org> References: <20191111181438.945353076@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Dan Carpenter commit b39e077fcb283dd96dd251a3abeba585402c61fe upstream. We recently cleaned up the error handling in commit 52c3e317a857 ("ALSA: usb-audio: Unify the release of usb_mixer_elem_info objects") but accidentally left this stray return. Fixes: 52c3e317a857 ("ALSA: usb-audio: Unify the release of usb_mixer_elem_info objects") Signed-off-by: Dan Carpenter Signed-off-by: Takashi Iwai Signed-off-by: Greg Kroah-Hartman --- sound/usb/mixer.c | 1 - 1 file changed, 1 deletion(-) --- a/sound/usb/mixer.c +++ b/sound/usb/mixer.c @@ -2670,7 +2670,6 @@ static int parse_audio_selector_unit(str usb_audio_err(state->chip, "cannot malloc kcontrol\n"); err = -ENOMEM; goto error_name; - return -ENOMEM; } kctl->private_value = (unsigned long)namelist; kctl->private_free = usb_mixer_selector_elem_free;