linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Sterba <dsterba@suse.cz>
To: jing yangyang <cgel.zte@gmail.com>
Cc: Chris Mason <clm@fb.com>, Josef Bacik <josef@toxicpanda.com>,
	David Sterba <dsterba@suse.com>,
	linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org,
	jing yangyang <jing.yangyang@zte.com.cn>,
	Zeal Robot <zealci@zte.com.cn>
Subject: Re: [PATCH linux-next] fs: btrfs: fix returnvar.cocci warnings
Date: Fri, 20 Aug 2021 12:40:52 +0200	[thread overview]
Message-ID: <20210820104052.GL5047@twin.jikos.cz> (raw)
In-Reply-To: <20210820023229.11369-1-jing.yangyang@zte.com.cn>

On Thu, Aug 19, 2021 at 07:32:29PM -0700, jing yangyang wrote:
> Remove unneeded variables when "0" can be returned.
> 
> Generated by: scripts/coccinelle/misc/returnvar.cocci

Fixing that needs much more work that's not obvious from the function
itself.

      parent reply	other threads:[~2021-08-20 10:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-20  2:32 jing yangyang
2021-08-20  3:16 ` Qu Wenruo
2021-08-20 10:40 ` David Sterba [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=20210820104052.GL5047@twin.jikos.cz \
    --to=dsterba@suse.cz \
    --cc=cgel.zte@gmail.com \
    --cc=clm@fb.com \
    --cc=dsterba@suse.com \
    --cc=jing.yangyang@zte.com.cn \
    --cc=josef@toxicpanda.com \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=zealci@zte.com.cn \
    --subject='Re: [PATCH linux-next] fs: btrfs: fix returnvar.cocci warnings' \
    /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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).