From: David Miller <davem@davemloft.net>
To: yanaijie@huawei.com
Cc: richardcochran@gmail.com, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ptp: Remove unneeded conversion to bool
Date: Tue, 21 Apr 2020 15:45:49 -0700 (PDT) [thread overview]
Message-ID: <20200421.154549.163383586020175167.davem@davemloft.net> (raw)
In-Reply-To: <20200420123431.7040-1-yanaijie@huawei.com>
From: Jason Yan <yanaijie@huawei.com>
Date: Mon, 20 Apr 2020 20:34:31 +0800
> The '==' expression itself is bool, no need to convert it to bool again.
> This fixes the following coccicheck warning:
>
> drivers/ptp/ptp_ines.c:403:55-60: WARNING: conversion to bool not
> needed here
> drivers/ptp/ptp_ines.c:404:55-60: WARNING: conversion to bool not
> needed here
>
> Signed-off-by: Jason Yan <yanaijie@huawei.com>
Applied to net-next.
prev parent reply other threads:[~2020-04-21 22:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-20 12:34 Jason Yan
2020-04-21 22:45 ` David Miller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200421.154549.163383586020175167.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=richardcochran@gmail.com \
--cc=yanaijie@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®