All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Andreas Färber" <afaerber@suse.de>
To: Stefan Weil <sw@weilnetz.de>
Cc: qemu-trivial <qemu-trivial@nongnu.org>, qemu-devel@nongnu.org
Subject: Re: [Qemu-trivial] [Qemu-devel] [PATCH] target-mips: Remove unused inline function
Date: Mon, 19 Mar 2012 11:33:06 +0100	[thread overview]
Message-ID: <4F670B62.2040606@suse.de> (raw)
In-Reply-To: <1331985651-16227-1-git-send-email-sw@weilnetz.de>

Hello Stefan,

Am 17.03.2012 13:00, schrieb Stefan Weil:
> Function set_HILO is not needed anywhere.

Does this cause any warnings? Given the state mips is currently in (TCG
patches queuing), I'd suggest to hold this off for a bit, but I don't
really mind either way.

Commit message does not mention if this was never used in the first
place or became unused during TCG conversion or some other refactoring?

Andreas

> 
> Signed-off-by: Stefan Weil <sw@weilnetz.de>
> ---
>  target-mips/op_helper.c |    6 ------
>  1 files changed, 0 insertions(+), 6 deletions(-)
> 
> diff --git a/target-mips/op_helper.c b/target-mips/op_helper.c
> index 3a20731..7b77d5a 100644
> --- a/target-mips/op_helper.c
> +++ b/target-mips/op_helper.c
> @@ -193,12 +193,6 @@ static inline uint64_t get_HILO (void)
>      return ((uint64_t)(env->active_tc.HI[0]) << 32) | (uint32_t)env->active_tc.LO[0];
>  }
>  
> -static inline void set_HILO (uint64_t HILO)
> -{
> -    env->active_tc.LO[0] = (int32_t)HILO;
> -    env->active_tc.HI[0] = (int32_t)(HILO >> 32);
> -}
> -
>  static inline void set_HIT0_LO (target_ulong arg1, uint64_t HILO)
>  {
>      env->active_tc.LO[0] = (int32_t)(HILO & 0xFFFFFFFF);

-- 
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg


WARNING: multiple messages have this Message-ID (diff)
From: "Andreas Färber" <afaerber@suse.de>
To: Stefan Weil <sw@weilnetz.de>
Cc: qemu-trivial <qemu-trivial@nongnu.org>,
	qemu-devel@nongnu.org, Aurelien Jarno <aurelien@aurel32.net>
Subject: Re: [Qemu-devel] [PATCH] target-mips: Remove unused inline function
Date: Mon, 19 Mar 2012 11:33:06 +0100	[thread overview]
Message-ID: <4F670B62.2040606@suse.de> (raw)
In-Reply-To: <1331985651-16227-1-git-send-email-sw@weilnetz.de>

Hello Stefan,

Am 17.03.2012 13:00, schrieb Stefan Weil:
> Function set_HILO is not needed anywhere.

Does this cause any warnings? Given the state mips is currently in (TCG
patches queuing), I'd suggest to hold this off for a bit, but I don't
really mind either way.

Commit message does not mention if this was never used in the first
place or became unused during TCG conversion or some other refactoring?

Andreas

> 
> Signed-off-by: Stefan Weil <sw@weilnetz.de>
> ---
>  target-mips/op_helper.c |    6 ------
>  1 files changed, 0 insertions(+), 6 deletions(-)
> 
> diff --git a/target-mips/op_helper.c b/target-mips/op_helper.c
> index 3a20731..7b77d5a 100644
> --- a/target-mips/op_helper.c
> +++ b/target-mips/op_helper.c
> @@ -193,12 +193,6 @@ static inline uint64_t get_HILO (void)
>      return ((uint64_t)(env->active_tc.HI[0]) << 32) | (uint32_t)env->active_tc.LO[0];
>  }
>  
> -static inline void set_HILO (uint64_t HILO)
> -{
> -    env->active_tc.LO[0] = (int32_t)HILO;
> -    env->active_tc.HI[0] = (int32_t)(HILO >> 32);
> -}
> -
>  static inline void set_HIT0_LO (target_ulong arg1, uint64_t HILO)
>  {
>      env->active_tc.LO[0] = (int32_t)(HILO & 0xFFFFFFFF);

-- 
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg

  reply	other threads:[~2012-03-19 10:33 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-17 12:00 [Qemu-trivial] [PATCH] target-mips: Remove unused inline function Stefan Weil
2012-03-17 12:00 ` [Qemu-devel] " Stefan Weil
2012-03-19 10:33 ` Andreas Färber [this message]
2012-03-19 10:33   ` Andreas Färber
2012-03-19 12:17   ` [Qemu-trivial] " Stefan Hajnoczi
2012-03-19 12:17     ` Stefan Hajnoczi
2012-03-19 12:31     ` [Qemu-trivial] " Stefan Weil
2012-03-19 12:31       ` Stefan Weil
2012-03-19 12:43       ` [Qemu-trivial] " Andreas Färber
2012-03-19 12:43         ` Andreas Färber
2012-03-19 13:08         ` [Qemu-trivial] " Stefan Weil
2012-03-19 13:08           ` Stefan Weil
2012-04-23 19:59           ` [Qemu-trivial] " Stefan Weil
2012-03-19 11:02 ` [Qemu-trivial] " Stefan Hajnoczi
2012-03-19 11:02   ` [Qemu-devel] " Stefan Hajnoczi

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=4F670B62.2040606@suse.de \
    --to=afaerber@suse.de \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-trivial@nongnu.org \
    --cc=sw@weilnetz.de \
    /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.