[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190903133051.GA23985@lst.de>
Date: Tue, 3 Sep 2019 15:30:51 +0200
From: Christoph Hellwig <hch@....de>
To: Qian Cai <cai@....pw>
Cc: benh@...nel.crashing.org, paulus@...ba.org, mpe@...erman.id.au,
Christoph Hellwig <hch@....de>, aik@...abs.ru,
linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] powerpc/powernv: fix a W=1 compilation warning
On Tue, Sep 03, 2019 at 09:29:14AM -0400, Qian Cai wrote:
> I saw Christ start to remove npu-dma.c code [1]
>
> [1] https://lore.kernel.org/linuxppc-dev/20190625145239.2759-4-hch@lst.de/
>
> Should pnv_npu_dma_set_32() be removed too?
>
> It was only called by pnv_npu_try_dma_set_bypass() but the later is not used
> anywhere in the kernel tree. If that is a case, I don't need to bother fixing
> the warning here.
Yes, pnv_npu_try_dma_set_bypass and pnv_npu_dma_set_32 should go away
as well as they are unused. Do you want to send a patch or should I
prepare one?
Powered by blists - more mailing lists