All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Peter Xu <peterx@redhat.com>,
	linux-kernel@vger.kernel.org, kvm@vger.kernel.org
Cc: kernel test robot <lkp@intel.com>
Subject: Re: [PATCH v2] KVM: Drop unused kvm_dirty_gfn_invalid()
Date: Mon, 6 Sep 2021 14:24:13 +0200	[thread overview]
Message-ID: <786bbcc9-50dd-51c9-61e1-fe04204ca3f6@redhat.com> (raw)
In-Reply-To: <20210901230904.15164-1-peterx@redhat.com>

On 02/09/21 01:09, Peter Xu wrote:
> Drop the unused function as reported by test bot.
> 
> Reported-by: kernel test robot <lkp@intel.com>
> Signed-off-by: Peter Xu <peterx@redhat.com>
> --
> v2:
> - Fix the subject that points to the right function; the copy-paste failed.
> ---
>   virt/kvm/dirty_ring.c | 5 -----
>   1 file changed, 5 deletions(-)
> 
> diff --git a/virt/kvm/dirty_ring.c b/virt/kvm/dirty_ring.c
> index 7aafefc50aa7..88f4683198ea 100644
> --- a/virt/kvm/dirty_ring.c
> +++ b/virt/kvm/dirty_ring.c
> @@ -91,11 +91,6 @@ static inline void kvm_dirty_gfn_set_dirtied(struct kvm_dirty_gfn *gfn)
>   	gfn->flags = KVM_DIRTY_GFN_F_DIRTY;
>   }
>   
> -static inline bool kvm_dirty_gfn_invalid(struct kvm_dirty_gfn *gfn)
> -{
> -	return gfn->flags == 0;
> -}
> -
>   static inline bool kvm_dirty_gfn_harvested(struct kvm_dirty_gfn *gfn)
>   {
>   	return gfn->flags & KVM_DIRTY_GFN_F_RESET;
> 

Queued, thanks.

Paolo


      reply	other threads:[~2021-09-06 12:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-01 23:09 [PATCH v2] KVM: Drop unused kvm_dirty_gfn_invalid() Peter Xu
2021-09-06 12:24 ` Paolo Bonzini [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=786bbcc9-50dd-51c9-61e1-fe04204ca3f6@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkp@intel.com \
    --cc=peterx@redhat.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.