Received: by 2002:ab2:788f:0:b0:1ee:8f2e:70ae with SMTP id b15csp415804lqi; Thu, 7 Mar 2024 00:37:48 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVmtp/T1zLeJACmZ4LtYHteHP8galiQxFb9Y2GM1zjFI4CSZQ4cUKfc37VswQ1BkWBc69dk7P8cwZ3fnui23Zb9ouTkUIKxiL+2fFid4A== X-Google-Smtp-Source: AGHT+IEH5wYIMrN1/pjWpVnYrJaYd0B27+ze9kM1G5vhesL1vAiCaKwYx48Z3uoStyhK3GluWCjF X-Received: by 2002:ac8:7fd5:0:b0:42f:1c60:7841 with SMTP id b21-20020ac87fd5000000b0042f1c607841mr1000977qtk.44.1709800668300; Thu, 07 Mar 2024 00:37:48 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709800668; cv=pass; d=google.com; s=arc-20160816; b=ehm/dgzDpNx0WYKfsGm4108hdZR8ftkus92hueQxNUoh5/EyVvJUstej+mi9F+b3Bu 4huQzsb4hnyOUFo8ixbkYX/4CthUfB/ks1Je13CxsCK7w3RTb7YOHz6WfH+FVbqFztS3 19N9x54qsqoINHZmFTmX91bE9rFhGhWg/BvtGtxT/SOmDy2ycCRhadj5KvyCVvmhdZY+ opwCwBmL1FCFjRWM1zu8mimE3HRr5giwpiencC/ZECyP2SUCpfbWOdLeEOIhuDBdeJad qQAaNYc3LGHg2u/QaUdJPWxstooRaD6gldl9nJJZdMjyJrXbI40vrlR9OZsZynL3EWRh RlXg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:mail-followup-to :message-id:subject:cc:to:from:date:dkim-signature; bh=C6YOL+H36w2gYFNpOncMKker3/8rALYdU8W2MfFeUeY=; fh=l0rsjteHEgJKvTS5rGPQU3XC2KTBNFSm/c8rJi2ASk8=; b=TVctRWg1lxY1by/wRzch1qP3Iq3A2XLVwXJuuBHEd0K2ki6mulvKCEOWs4BIgn4lo3 Eto/BaL4a4OTL9B9dJ6lYMQCyfCIN5a1c5noBCY7mNdmIwpVJbrREwFk0MenZz87ToB0 z5sEBPWkY0o4zykjue8sPOxeK0Gu3wkOYl9cXe8pQaoqKjspDvgHV+slFziLLVzQFpna y6zOxOggtK2Wn9Ur3838x1YBVBjgm2PCoZFj0oBVIqf4kBCa6PNyPhgsIVB5YEaF7ZS3 SHst4x2MWe/PlUnRSAo/kBaIzO147wRIlb7+hx8EQTuSNtdw1gyhPh6vIMMJm1lveYDy 8rbQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@sang-engineering.com header.s=k1 header.b=WRudDpPS; arc=pass (i=1 spf=pass spfdomain=sang-engineering.com dkim=pass dkdomain=sang-engineering.com); spf=pass (google.com: domain of linux-kernel+bounces-95150-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-95150-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id c4-20020ac87dc4000000b0042ef598f241si7972632qte.790.2024.03.07.00.37.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Mar 2024 00:37:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-95150-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@sang-engineering.com header.s=k1 header.b=WRudDpPS; arc=pass (i=1 spf=pass spfdomain=sang-engineering.com dkim=pass dkdomain=sang-engineering.com); spf=pass (google.com: domain of linux-kernel+bounces-95150-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-95150-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 030551C20A0B for ; Thu, 7 Mar 2024 08:37:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0BCE582D73; Thu, 7 Mar 2024 08:37:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sang-engineering.com header.i=@sang-engineering.com header.b="WRudDpPS" Received: from mail.zeus03.de (www.zeus03.de [194.117.254.33]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EF29E71728 for ; Thu, 7 Mar 2024 08:37:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=194.117.254.33 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709800651; cv=none; b=THZj975T4y1B5zpKfXQooXnJbdObHvVdzgGPjQyZRNhbIrdVA6ie9iPBp4K/JLQTYHBcuL8lNbydNCYWKElIIMNzQWkhxjGzR59JOywLuUkhkAzu2hjeH6dQKc+7fziySij30b4JkB2LurZSOsSTpvnjJ7LkQuYJVIP8Kbr6/3w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709800651; c=relaxed/simple; bh=C6YOL+H36w2gYFNpOncMKker3/8rALYdU8W2MfFeUeY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Q9BnaY4aUG1sZodY71QURwZRQmRSEV/bfriypfSkDTXAoBkcaqIvrKej4bNhGlI2HOojh8BoTt1hqzRP0lB2DQo5X4rmr6HZiB9sLA4QOYOzOS08eHUBth295VrbI1kFLfC0aJ3u5d/sNcx2hVUw2cw7wwQMTxI2Z1i+ssLBGlI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sang-engineering.com; spf=pass smtp.mailfrom=sang-engineering.com; dkim=pass (2048-bit key) header.d=sang-engineering.com header.i=@sang-engineering.com header.b=WRudDpPS; arc=none smtp.client-ip=194.117.254.33 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sang-engineering.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sang-engineering.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= sang-engineering.com; h=date:from:to:cc:subject:message-id :references:mime-version:content-type:in-reply-to; s=k1; bh=C6YO L+H36w2gYFNpOncMKker3/8rALYdU8W2MfFeUeY=; b=WRudDpPS89drV17hRDFS K2BaM+2an+I0ArFIIssB0StmfFoIPnLY+lvq5QOQn1zwUqaV7lHERhWR6SPU8jB4 jekkbgeOOQv/JwgNst8qIAT08nnSdAycYlabKUcXfU2igtCpDyYs6kPzKLjOdl8o XBXynY4WSnICbiGNvHcz0srby3sxwI78gt+esgWMvno/PM3CGdYicowOEWrh7/5V nCN3xvV6EJXGJGLAPf24pGlPigqApfFERH1OnYBEPy7b/IXJXkwsQqK0RiV7+WLG JB+W9Wl+cl/wBPHx1ff02pS5r4C1IvfxMtlMuLL3mpKzHb0S7Nm3jf5gXIWArdlw Lw== Received: (qmail 285103 invoked from network); 7 Mar 2024 09:37:25 +0100 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 7 Mar 2024 09:37:25 +0100 X-UD-Smtp-Session: l3s3148p1@2b8a/A0TVt4gAwDPXwugANQqZcJxr0oT Date: Thu, 7 Mar 2024 09:37:25 +0100 From: Wolfram Sang To: "Hsin-Yu.Chen" Cc: linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] i2c: remove redundant condition Message-ID: Mail-Followup-To: Wolfram Sang , "Hsin-Yu.Chen" , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240306041900.22885-1-harry021633@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="TE6MAaH4nDko0Ree" Content-Disposition: inline In-Reply-To: <20240306041900.22885-1-harry021633@gmail.com> --TE6MAaH4nDko0Ree Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 06, 2024 at 12:19:00PM +0800, Hsin-Yu.Chen wrote: > I2C_M_RD is defined as 1 and `flag & I2C_M_RD` is one or zero > no need for an additional condition to obtain the value >=20 > Signed-off-by: Hsin-Yu.Chen Applied to for-next, thanks! --TE6MAaH4nDko0Ree Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAmXpfMUACgkQFA3kzBSg KbaBsxAAsxiyqPeqCQLgNVwbU4iXEL5SScdns2qnn+p+f61JwT4LQxEyYqTXQcFa kn9Vfmw5ItynxDrmz27Ey6T58cMFQ7gDhneVWBB4oTLtWmT9pt+uqwDbYK5F0SR6 1RnKD6+XzjeFoLovi34/Uzp4umN+X5XqP+zVLTO0S8OfgwCDjOpFNXZOiHhMJoR5 Oa4FMjmcbKGem3U0iBusazzWSptSig4LbNoUnWGxc4WswMMIN16rmDUeFZT05hIQ yHMmKNXwZ+TDSXyLE+QqYQaaWrBMgJ70MQOxVvrujwQHmNfGOUDi99DKt379ZBgO OD0POyXv9Hoz0TjKZFJD8iTN5vMI8fsc34qb9ej5zvTv+9nccqQ6mnJGFC6DHIPe dOsky2v65pZLyDy80pNSPcc2OclDJFgCBxGmeGo44jnPrrz8+n2gGKCNeZS/N0sR hBBIRxm/YbTICBo1MXkGcuQX94ZtZ0Yd9Nlp3FgJl0F4wzFn8/HA5SIGFGvW3AFf p2sp4D3EO2OI2ncu83BkGg2t3K+jbCUz1jy/C+0wjz3O57+5MNHqVmJjwjA2ZQBh TIPa0ygSctN0Vq7bL83k9Y3IZN2evV42BI8pe6yqMJKgBvDfdBlzTKK487NE4TgX dMfyte1EBRZ8kHi5r1jgH2LgTXRrQyku++QKylqCXFGJ5G0vOhg= =GgO4 -----END PGP SIGNATURE----- --TE6MAaH4nDko0Ree--