Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp6184955ybi; Sun, 21 Jul 2019 11:17:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqxdGtNlWE+gcuBfoB0T9oxq31Nlk//y1NH31afKayOEwS1912469PQwa9UmS1u0da2NtwVx X-Received: by 2002:a17:90a:bb8a:: with SMTP id v10mr73684888pjr.78.1563733024930; Sun, 21 Jul 2019 11:17:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563733024; cv=none; d=google.com; s=arc-20160816; b=WmhR7hOa5F15uUZfdhwOOIH72kYB3a0sxFmQyJkqPGRMVSWW0zGjZXqnxuBU4AmNVt XOCHQccCg7Y3lJnBJWrzj2k6pNGdyoD9/7ee4Fqko7gXmDQzmN1iSkDAwGqxInA2o+4l FBZQQNHyk+ryay9p+d9u86Oi7qG/tIW+CVHZbjEXbdSCqhUHq56SQYf+fBmuZLvS9Cjk sBIWGmkXcqDlq+wyClcsPe5U/1QqXWbNJFdc0zMCuK2Ch6v+b7WLBzV6NKflDxX+TtIC hNRRwLp38WODj84mkJeYtwQv7pPoW1A0iGrg+5LPD2eIpDTh4mDqzWQcMAp5ck3BSF3Z +KkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:to:from:date:dkim-signature; bh=wfPtSDK6aeQ/5qCMCN3mM+awlrKw6JZ3Ltnav27AGWE=; b=Vq+hb/gVcLeATRz7AHUyCOmO6cR4G+oWxbMi9nTk8sAUOiSFGO8NrIt+SFJeBPrqUd uEtLrNQm3WdL960jQnmpjvf5HVzxahlK5/lsCDBgcLP+I7K9yXh1sQep+pQNOIfzxFQ0 xXocWkV7gT6XG2eNSg03qO2votZ6ZCRUpStvoF7ndmeN8JY2rUzKyS27a6XMecOGPrCC NpboLqvsvFKdzqtGcLp2RLK/oy+hUK81xkNZpfHrz411JGG+A1+t47o1TDas8Ec2fjuY mkPNFgWv6txkzeKz9cjhUdY82+hQgKuir9HUYggVogiFs5pV0A0j1/BkUGMVDI/0xee+ DckQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=agbSGPgY; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b11si6382644plz.307.2019.07.21.11.16.48; Sun, 21 Jul 2019 11:17:04 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=agbSGPgY; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726840AbfGURrW (ORCPT + 99 others); Sun, 21 Jul 2019 13:47:22 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:44729 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725828AbfGURrV (ORCPT ); Sun, 21 Jul 2019 13:47:21 -0400 Received: by mail-pf1-f193.google.com with SMTP id t16so16211831pfe.11 for ; Sun, 21 Jul 2019 10:47:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mime-version:content-disposition :user-agent; bh=wfPtSDK6aeQ/5qCMCN3mM+awlrKw6JZ3Ltnav27AGWE=; b=agbSGPgYAkz8RINO8A9YIX3aoh13aW/Egoh5xl7JWIHhrbb13bKHL6CZXdU81vEdoY ZPRPk68EB/1nhGApq8ABJlq/NBW4UOk0aai4BGyImZSoZsLjWWuV26JaHFPLvW9ITm67 JzvwIh08zHxx764XxY5kKGTb+5GJ53qIwrZSEAIHB/oYHvj8zrBrdvePkOSrqv5WtuhE 38cxfb4tpbb1AXz2kSf44eXcBIqCrHWJeq06wwKFAgv9ZKAOGUGO4jBKJZfqhMVkZ0XU ejgWqCK1OkR/q/EohlmeZuAl8DRZWcHfED79ixq59S1SETR8AkSIgngfFK0ssc81vOe5 /K+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-disposition:user-agent; bh=wfPtSDK6aeQ/5qCMCN3mM+awlrKw6JZ3Ltnav27AGWE=; b=PNVDhAuhR7XjShroTQ+KYtigihahhk3KjsueQ21xDol054QxCUKBozwGk6TVkGf6qW B61vEI3rCQWLCDPfos4hT44K2wDDLsz0PcPsaeQvrD7N+wS3TGhmwYhH/HCc/wEUaP/Q WlE4ztarB1ZhlfIKiWZJGSTpr4vgP202qOW3ahKDFOYqHavzkJf6JoBEpxVZ4dojF3B8 qJyUHgQFzVbdTO6Lqxuqaesvvyyu1fHNZ60oArQiq+qWbi/dAoEB1d7wnhzAwDnySgUg d3JZS12fFv/s0YdsFG5OANsR+m86iAxqdcbMkP5ws5v+BWCEO4ScF0QnDZuvCzAlPqhI eq/g== X-Gm-Message-State: APjAAAUwiCra84UKyq/COw4luh2S/H65cIfrNtMGVTKeDXRf2tBGc3wJ qMaw7HMyRl88frjCglpZPANmHcOh X-Received: by 2002:a63:de43:: with SMTP id y3mr4432535pgi.211.1563731241085; Sun, 21 Jul 2019 10:47:21 -0700 (PDT) Received: from hari-Inspiron-1545 ([183.83.86.126]) by smtp.gmail.com with ESMTPSA id u16sm36964292pjb.2.2019.07.21.10.47.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 21 Jul 2019 10:47:20 -0700 (PDT) Date: Sun, 21 Jul 2019 23:17:15 +0530 From: Hariprasad Kelam To: Srinivas Kandagatla , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: [PATCH] slimbus: fix duplicated argument to || Message-ID: <20190721174715.GA10747@hari-Inspiron-1545> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove duplicate argument SLIM_MSG_MC_REQUEST_CLEAR_INFORMATION. fix below issue reported by coccicheck ./drivers/slimbus/slimbus.h:440:3-46: duplicated argument to && or || Signed-off-by: Hariprasad Kelam --- drivers/slimbus/slimbus.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/slimbus/slimbus.h b/drivers/slimbus/slimbus.h index 9be4108..46a6441 100644 --- a/drivers/slimbus/slimbus.h +++ b/drivers/slimbus/slimbus.h @@ -438,8 +438,7 @@ static inline bool slim_tid_txn(u8 mt, u8 mc) return (mt == SLIM_MSG_MT_CORE && (mc == SLIM_MSG_MC_REQUEST_INFORMATION || mc == SLIM_MSG_MC_REQUEST_CLEAR_INFORMATION || - mc == SLIM_MSG_MC_REQUEST_VALUE || - mc == SLIM_MSG_MC_REQUEST_CLEAR_INFORMATION)); + mc == SLIM_MSG_MC_REQUEST_VALUE)); } static inline bool slim_ec_txn(u8 mt, u8 mc) -- 2.7.4