Re: [PATCH] dtc: remove some warnings

2011-08-25 Thread Stephen Rothwell
Hi David, On Fri, 26 Aug 2011 14:49:02 +1000 David Gibson wrote: > > Jon, please apply. Uh.. except that this is a patch against the in > kernel dtc, rather than upstream. Yeah, Josh pointed out that these are fixed in upstream. I guess we need to do another snapshot merge ... -- Cheers, Ste

Re: [PATCH] dtc: remove some warnings

2011-08-25 Thread David Gibson
On Fri, Aug 26, 2011 at 11:26:43AM +1000, Stephen Rothwell wrote: > I assume that these variables were used in the past but not removed when > their usage was removed. > > Fixes these warnings: > > scripts/dtc/dtc.c: In function 'main': > scripts/dtc/dtc.c:102:17: warning: variable 'check' set bu

[PATCH] dtc: remove some warnings

2011-08-25 Thread Stephen Rothwell
I assume that these variables were used in the past but not removed when their usage was removed. Fixes these warnings: scripts/dtc/dtc.c: In function 'main': scripts/dtc/dtc.c:102:17: warning: variable 'check' set but not used [-Wunused-but-set-variable] scripts/dtc/flattree.c: In function 'fla