Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754322AbdL1XHV (ORCPT ); Thu, 28 Dec 2017 18:07:21 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:43563 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751169AbdL1XHR (ORCPT ); Thu, 28 Dec 2017 18:07:17 -0500 X-Google-Smtp-Source: ACJfBotpNk0f4Hg8e0XAyco7BysgQxeR2RZgLmowCWEzs2bLImeF68dQeZQnpPqmWNtxHeeVCzI8ww== From: Philippe Loctaux To: gregkh@linuxfoundation.org Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Philippe Loctaux Subject: [PATCH 2/2] Staging: most: aim-sound: sound.c: removed unnecessary parentheses Date: Fri, 29 Dec 2017 00:06:50 +0100 Message-Id: <20171228230650.12973-3-loctauxphilippe@gmail.com> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20171228230650.12973-1-loctauxphilippe@gmail.com> References: <20171228230650.12973-1-loctauxphilippe@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 771 Lines: 22 Removed unnecessary parentheses in a if statement. Signed-off-by: Philippe Loctaux --- drivers/staging/most/aim-sound/sound.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/most/aim-sound/sound.c b/drivers/staging/most/aim-sound/sound.c index ab2b0d833..0e79a4898 100644 --- a/drivers/staging/most/aim-sound/sound.c +++ b/drivers/staging/most/aim-sound/sound.c @@ -166,7 +166,7 @@ static struct channel *get_channel(struct most_interface *iface, struct channel *channel, *tmp; list_for_each_entry_safe(channel, tmp, &dev_list, list) { - if ((channel->iface == iface) && (channel->id == channel_id)) + if (channel->iface == iface && channel->id == channel_id) return channel; } -- 2.15.1