From: Takashi Iwai Subject: Re: [PATCH] sound/usb/usx2y: simplify conditional Date: Mon, 11 Oct 2010 14:02:50 +0200 Message-ID: References: <20101005173812.5190495d@absol.kitzblitz> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx1.suse.de (cantor.suse.de [195.135.220.2]) by alsa0.perex.cz (Postfix) with ESMTP id E5023103937 for ; Mon, 11 Oct 2010 14:02:50 +0200 (CEST) In-Reply-To: <20101005173812.5190495d@absol.kitzblitz> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Nicolas Kaiser Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org List-Id: alsa-devel@alsa-project.org At Tue, 5 Oct 2010 17:38:12 +0200, Nicolas Kaiser wrote: > > Simplify conditional: (a || (!a && b)) => (a || b) > > Signed-off-by: Nicolas Kaiser Applied now. Thanks. Takashi > --- > sound/usb/usx2y/usx2yhwdeppcm.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/sound/usb/usx2y/usx2yhwdeppcm.c b/sound/usb/usx2y/usx2yhwdeppcm.c > index 2a528e5..3146a81 100644 > --- a/sound/usb/usx2y/usx2yhwdeppcm.c > +++ b/sound/usb/usx2y/usx2yhwdeppcm.c > @@ -54,7 +54,7 @@ > #include > #include "usbusx2yaudio.c" > > -#if defined(USX2Y_NRPACKS_VARIABLE) || (!defined(USX2Y_NRPACKS_VARIABLE) && USX2Y_NRPACKS == 1) > +#if defined(USX2Y_NRPACKS_VARIABLE) || USX2Y_NRPACKS == 1 > > #include > > -- > 1.7.2.2 > _______________________________________________ > Alsa-devel mailing list > Alsa-devel@alsa-project.org > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel >