Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 272194
b: refs/heads/master
c: ae29bc9
h: refs/heads/master
v: v3
  • Loading branch information
William Douglas authored and Linus Torvalds committed Nov 1, 2011
1 parent 52cb9b2 commit 1d57b81
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 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: 48e41899e4a3592746e5263c14681bf5c1393563
refs/heads/master: ae29bc92da01a2e9d278a9a58c3b307d41cc0254
3 changes: 0 additions & 3 deletions trunk/kernel/printk.c
Original file line number Diff line number Diff line change
Expand Up @@ -595,9 +595,6 @@ static size_t log_prefix(const char *p, unsigned int *level, char *special)
/* multi digit including the level and facility number */
char *endp = NULL;

if (p[1] < '0' || p[1] > '9')
return 0;

lev = (simple_strtoul(&p[1], &endp, 10) & 7);
if (endp == NULL || endp[0] != '>')
return 0;
Expand Down

0 comments on commit 1d57b81

Please sign in to comment.