From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: [PATCH] sound: ppc: snd_ps3: Remove Unneeded variable: "ret" Date: Wed, 10 Jul 2019 11:56:25 +0200 Message-ID: References: <20190710023946.GA15604@hari-Inspiron-1545> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <20190710023946.GA15604@hari-Inspiron-1545> Sender: linux-kernel-owner@vger.kernel.org To: Hariprasad Kelam Cc: alsa-devel@alsa-project.org, Michael Ellerman , Geoff Levand , Benjamin Herrenschmidt , linuxppc-dev@lists.ozlabs.org, Jaroslav Kysela , Paul Mackerras , Takashi Iwai , linux-kernel@vger.kernel.org List-Id: alsa-devel@alsa-project.org On Wed, 10 Jul 2019 04:39:46 +0200, Hariprasad Kelam wrote: > > This patch fixes below issue reported by coccicheck > sound/ppc/snd_ps3.c:631:5-8: Unneeded variable: "ret". Return "0" on > line 668 > > We cannot change return type of snd_ps3_pcm_trigger as it is registered > with snd_pcm_ops->trigger > > Signed-off-by: Hariprasad Kelam Applied (with the correction of the description again). thanks, Takashi