Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 321313
b: refs/heads/master
c: 07cd27b
h: refs/heads/master
i:
  321311: 461f436
v: v3
  • Loading branch information
Jason Wessel committed Jul 31, 2012
1 parent ce547de commit fe130e8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0f26d0e0a715556270d85b7946b99546a2f92888
refs/heads/master: 07cd27bbd4d07af6c3e24ae479316a69e7935e1e
11 changes: 0 additions & 11 deletions trunk/kernel/debug/kdb/kdb_io.c
Original file line number Diff line number Diff line change
Expand Up @@ -715,9 +715,6 @@ int vkdb_printf(const char *fmt, va_list ap)
/* check for having reached the LINES number of printed lines */
if (kdb_nextline == linecount) {
char buf1[16] = "";
#if defined(CONFIG_SMP)
char buf2[32];
#endif

/* Watch out for recursion here. Any routine that calls
* kdb_printf will come back through here. And kdb_read
Expand All @@ -732,14 +729,6 @@ int vkdb_printf(const char *fmt, va_list ap)
if (moreprompt == NULL)
moreprompt = "more> ";

#if defined(CONFIG_SMP)
if (strchr(moreprompt, '%')) {
sprintf(buf2, moreprompt, get_cpu());
put_cpu();
moreprompt = buf2;
}
#endif

kdb_input_flush();
c = console_drivers;

Expand Down

0 comments on commit fe130e8

Please sign in to comment.