Skip to content

Commit

Permalink
powerpc/xmon: Remove unused variable in xmon.c
Browse files Browse the repository at this point in the history
Gets rid of this warning:

arch/powerpc/xmon/xmon.c: In function 'dump_log_buf':
arch/powerpc/xmon/xmon.c:2133: warning: unused variable 'i'

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
  • Loading branch information
Stephen Rothwell authored and Benjamin Herrenschmidt committed Jun 9, 2009
1 parent 41febbc commit 6d1386d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/xmon/xmon.c
Original file line number Diff line number Diff line change
Expand Up @@ -2130,7 +2130,7 @@ void
dump_log_buf(void)
{
const unsigned long size = 128;
unsigned long i, end, addr;
unsigned long end, addr;
unsigned char buf[size + 1];

addr = 0;
Expand Down

0 comments on commit 6d1386d

Please sign in to comment.