[Skiboot] [PATCH] npu2: Remove unused fields in struct npu2

Alistair Popple alistair at popple.id.au
Fri Mar 16 16:05:09 AEDT 2018


Thanks! Looks like these were probably just a cut & paste job from NVLink1 code.

Acked-By: Alistair Popple <alistair at popple.id.au>

On Friday, 16 March 2018 2:46:08 PM AEDT Andrew Donnellan wrote:
> Trivial cleanup of two unused fields in struct npu2.
> 
> Cc: Alistair Popple <alistair at popple.id.au>
> Cc: Reza Arbab <arbab at linux.vnet.ibm.com>
> Signed-off-by: Andrew Donnellan <andrew.donnellan at au1.ibm.com>
> ---
>  include/npu2.h | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/include/npu2.h b/include/npu2.h
> index eee57a7bd761..b95e1d3a4056 100644
> --- a/include/npu2.h
> +++ b/include/npu2.h
> @@ -140,10 +140,8 @@ struct npu2_dev {
>  struct npu2 {
>  	uint32_t	index;
>  	struct dt_node	*dt_node;
> -	uint32_t	flags;
>  	uint32_t	chip_id;
>  	uint64_t	xscom_base;
> -	uint64_t	at_xscom;
>  	void		*regs;
>  	uint64_t	mm_base;
>  	uint64_t	mm_size;
> 




More information about the Skiboot mailing list