From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Garrett Subject: Re: [PATCH] ACPI: Simplify conditional that has the same effect no matter what. Date: Tue, 23 Oct 2012 03:27:27 +0100 Message-ID: <20121023022727.GA13880@srcf.ucam.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from cavan.codon.org.uk ([93.93.128.6]:50304 "EHLO cavan.codon.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756491Ab2JWC1c (ORCPT ); Mon, 22 Oct 2012 22:27:32 -0400 Content-Disposition: inline In-Reply-To: Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: "Robert P. J. Day" Cc: linux-acpi@vger.kernel.org, lenb@kernel.org, rjw@sisk.pl On Mon, Oct 22, 2012 at 05:40:36PM -0400, Robert P. J. Day wrote: > not sure if there's something weirdly subtle happening here, but > this looks like a straightforward simplification. There is - it provides a hint to lockdep, but it should probably have a comment explaining it. See https://bugzilla.kernel.org/show_bug.cgi?id=14553 -- Matthew Garrett | mjg59@srcf.ucam.org