Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp9008640ybi; Wed, 10 Jul 2019 03:10:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqwrsVSZSzDdOKrBmAUhJkPbSflrWx9e5kArsHYEs76JfdQtuMa+E3qsARHPcuJ1MqkN0Ci9 X-Received: by 2002:a65:6656:: with SMTP id z22mr8160194pgv.197.1562753442362; Wed, 10 Jul 2019 03:10:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562753442; cv=none; d=google.com; s=arc-20160816; b=Pn5R6Ph9TfbS/kHY6Ga5TLVnNqZw7Nzs64hbV/JQAFzKHkuRlhBJaHIGzTvYd6JQcj eJUbxmpeUI8NN8soBgfmWzauFqur0RQLvnbAyntDSyVwr1s8hZcJi3WQK7NS6curouhe eTSsz4lbZClKjXpfpN0AncdRNCEkcLEgaFaRupv9fZVYizr5YQdVWP3qhNQ4x0kbCXh7 leP+K/nAoCzo4Wg31iDgpKqOIN6CgG2jx1Sl8oOFxCZBmnp7a8Qeo1M8QbOqILL42BsQ QCax03P3TS1YU4059B4dhMBYSBAPiyVBzu49tNxtWIGFCL1cSw/EC8WI4TQK6sH5Pw6q I2tg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:subject:cc:to:from:message-id:date; bh=S7wRCpD0nMs2TdRhpDai8odLbvIaenfBblzpl+Y3oZs=; b=oAC+W4QklWlAqEnyAglPqps5JXuZegU62mAAQ4pYfj9zkbPuaPPFLsAMNmAHbbRKL0 SzNOKf1YoCY7nKcdZzbCIN/6y05yAhwLbE3Wwb82Ck6Hf991xEB56xuWjw3qvdW7Q+Ij nFWuDfrAy9+GnYl6gbaRt8MOXHNrAK1YjxzHo9J16S8cZp/EzbZOR2iMy2Tz2I34auEg Upe42R5ltMM5aadVrnU4ZDWIS8uxYMNIKqzAIcIHo4pg1I0odpZ4MpVMgKAK3kBH1FTW 0gHra8WvGIPaQ5nwk/GO6W/Js0OQeDfV1HdxsI1P6ycezEfR0Kx5zL0LwfwzqGbU75wS 1Luw== ARC-Authentication-Results: i=1; mx.google.com; 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 e1si1745021plt.276.2019.07.10.03.10.24; Wed, 10 Jul 2019 03:10:42 -0700 (PDT) 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; 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 S1727416AbfGJJ41 (ORCPT + 99 others); Wed, 10 Jul 2019 05:56:27 -0400 Received: from mx2.suse.de ([195.135.220.15]:57128 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725994AbfGJJ41 (ORCPT ); Wed, 10 Jul 2019 05:56:27 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 01996ABCD; Wed, 10 Jul 2019 09:56:26 +0000 (UTC) Date: Wed, 10 Jul 2019 11:56:25 +0200 Message-ID: From: Takashi Iwai To: "Hariprasad Kelam" Cc: , "Michael Ellerman" , "Geoff Levand" , "Benjamin Herrenschmidt" , , "Jaroslav Kysela" , "Paul Mackerras" , "Takashi Iwai" , Subject: Re: [PATCH] sound: ppc: snd_ps3: Remove Unneeded variable: "ret" In-Reply-To: <20190710023946.GA15604@hari-Inspiron-1545> References: <20190710023946.GA15604@hari-Inspiron-1545> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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