diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2014-04-08 00:39:03 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-04-08 01:36:09 +0200 |
commit | b6a83d928c652c092acd1ce79c19d44a1da9a6db (patch) | |
tree | 865827d91d7bd91e6b588f84b4daae835dbddcd2 /drivers/mfd | |
parent | kernel/panic.c: display reason at end + pr_emerg (diff) | |
download | linux-b6a83d928c652c092acd1ce79c19d44a1da9a6db.tar.xz linux-b6a83d928c652c092acd1ce79c19d44a1da9a6db.zip |
drivers/misc/sgi-gru/grukdump.c: cleanup gru_dump_context() a little
"ret" is zero here so we can remove the "!ret" part of the condition.
"uhdr" is alread a __user pointer so we can remove the cast.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Dimitri Sivanich <sivanich@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/mfd')
0 files changed, 0 insertions, 0 deletions