From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261235AbVCXMEo (ORCPT ); Thu, 24 Mar 2005 07:04:44 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261258AbVCXMEo (ORCPT ); Thu, 24 Mar 2005 07:04:44 -0500 Received: from cantor2.suse.de ([195.135.220.15]:28052 "EHLO mx2.suse.de") by vger.kernel.org with ESMTP id S261235AbVCXMEm (ORCPT ); Thu, 24 Mar 2005 07:04:42 -0500 Date: Thu, 24 Mar 2005 13:04:41 +0100 Message-ID: From: Takashi Iwai To: Adrian Bunk Cc: perex@suse.cz, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: Re: [Alsa-devel] [2.6 patch] sound/core/oss/pcm_plugin.c: kill dead code In-Reply-To: <20050323234128.GF1948@stusta.de> References: <20050323234128.GF1948@stusta.de> User-Agent: Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.6 MULE XEmacs/21.4 (patch 15) (Security Through Obscurity) (i386-suse-linux) MIME-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org At Thu, 24 Mar 2005 00:41:28 +0100, Adrian Bunk wrote: > > The Coverity checker found this obviously dead code. > > I'mnot sure which of the if (plugin == NULL) is correct - this patch > removes the one that couldn't be true. > > Signed-off-by: Adrian Bunk Thanks, I applied it to ALSA tree. Takashi