git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec0b380
)
pm2301-charger: Remove unneeded NULL checks
author
Dan Carpenter
<dan.carpenter@oracle.com>
Thu, 7 Nov 2013 08:06:17 +0000
(11:06 +0300)
committer
Anton Vorontsov
<anton@enomsg.org>
Wed, 13 Nov 2013 06:36:34 +0000
(22:36 -0800)
If "pm2" were NULL we would oops printing the error message.
Fortunately, that's not possible so I have removed the NULL checks.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Anton Vorontsov <anton@enomsg.org>
No differences found