[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 6/7] target/ppc: Remove unused struct 'mmu_ctx_hash32'
From: |
Dr. David Alan Gilbert |
Subject: |
Re: [PATCH 6/7] target/ppc: Remove unused struct 'mmu_ctx_hash32' |
Date: |
Fri, 10 May 2024 12:49:57 +0000 |
User-agent: |
Mutt/2.2.12 (2023-09-09) |
* BALATON Zoltan (balaton@eik.bme.hu) wrote:
> On Sun, 5 May 2024, BALATON Zoltan wrote:
> > On Sun, 5 May 2024, Dr. David Alan Gilbert wrote:
> > > I think it's use was removed by
> > > Commit 5883d8b296 ("mmu-hash*: Don't use full ppc_hash{32,
> > > 64}_translate() path for get_phys_page_debug()")
> > >
> > > Signed-off-by: Dr. David Alan Gilbert <dave@treblig.org>
> >
> > Reviewed-by: BALATON Zoltan <balaton@eik.bme.hu>
>
> I've picked this patch up and will send with my series that changes the same
> place to avoid needing to rebase.
Thanks!
Dave
> Regards,
> BALATON Zoltan
>
> > > ---
> > > target/ppc/mmu-hash32.c | 6 ------
> > > 1 file changed, 6 deletions(-)
> > >
> > > diff --git a/target/ppc/mmu-hash32.c b/target/ppc/mmu-hash32.c
> > > index 3976416840..746321329c 100644
> > > --- a/target/ppc/mmu-hash32.c
> > > +++ b/target/ppc/mmu-hash32.c
> > > @@ -36,12 +36,6 @@
> > > # define LOG_BATS(...) do { } while (0)
> > > #endif
> > >
> > > -struct mmu_ctx_hash32 {
> > > - hwaddr raddr; /* Real address */
> > > - int prot; /* Protection bits */
> > > - int key; /* Access key */
> > > -};
> > > -
> > > static int ppc_hash32_pp_prot(int key, int pp, int nx)
> > > {
> > > int prot;
> > >
> >
> >
--
-----Open up your eyes, open up your mind, open up your code -------
/ Dr. David Alan Gilbert | Running GNU/Linux | Happy \
\ dave @ treblig.org | | In Hex /
\ _________________________|_____ http://www.treblig.org |_______/