On 4/17/25 12:09, Zixun LI wrote: > at91_wdt struct is not used by anyone, let's remove it. > > Signed-off-by: Zixun LI <ad...@hifiphile.com> > --- > arch/arm/mach-at91/include/mach/at91_wdt.h | 6 ------ > 1 file changed, 6 deletions(-) > > diff --git a/arch/arm/mach-at91/include/mach/at91_wdt.h > b/arch/arm/mach-at91/include/mach/at91_wdt.h > index > 8ef8e007d7767308a5b46be46b02c51073723a41..78ad0453fd9eb3e42674d10cb11ce3da820cdc6a > 100644 > --- a/arch/arm/mach-at91/include/mach/at91_wdt.h > +++ b/arch/arm/mach-at91/include/mach/at91_wdt.h > @@ -19,12 +19,6 @@ > > #else > > -typedef struct at91_wdt { > - u32 cr; > - u32 mr; > - u32 sr; > -} at91_wdt_t; > - > struct at91_wdt_priv { > void __iomem *regs; > u32 regval; > I would merge patch 1 with patch 2 (this one). Removing references to a struct and removing the struct itself is a single logical step. Having just patch 1 in the tree would leave out a state where a non-used struct exists.
- [PATCH v2 0/8] watchdog: at91sam9_wdt driver enhancement Zixun LI
- [PATCH v2 3/8] arm: at91: wdt: Rename regval in priv da... Zixun LI
- [PATCH v2 5/8] arm: at91: wdt: Add SAM9X60 register def... Zixun LI
- [PATCH v2 6/8] watchdog: at91sam9_wdt: Add SAM9X60 supp... Zixun LI
- Re: [PATCH v2 6/8] watchdog: at91sam9_wdt: Add SAM9... Eugen Hristev
- [PATCH v2 2/8] arm: at91: wdt: Remove unused at91_wdt s... Zixun LI
- Re: [PATCH v2 2/8] arm: at91: wdt: Remove unused at... Eugen Hristev
- [PATCH v2 8/8] ARM: dts: at91: sam9x60-curiosity: Enabl... Zixun LI
- Re: [PATCH v2 8/8] ARM: dts: at91: sam9x60-curiosit... Eugen Hristev
- Re: [PATCH v2 8/8] ARM: dts: at91: sam9x60-curi... Zixun LI
- Re: [PATCH v2 8/8] ARM: dts: at91: sam9x60-... Eugen Hristev
- [PATCH v2 4/8] watchdog: at91sam9_wdt: Rename priv to w... Zixun LI
- [PATCH v2 7/8] ARM: dts: sam9x60: Add watchdog DT node. Zixun LI
- Re: [PATCH v2 7/8] ARM: dts: sam9x60: Add watchdog ... Eugen Hristev
- [PATCH v2 1/8] arm: at91: remove at91_wdt struct in spl Zixun LI