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:
f86c55c
)
staging: dgap: remove bogus null test in dgap_tty_init()
author
Daeseok Youn
<daeseok.youn@gmail.com>
Mon, 2 Jun 2014 05:06:53 +0000
(14:06 +0900)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Thu, 19 Jun 2014 22:21:47 +0000
(15:21 -0700)
- The channels array were set to NULL in dgap_found_board().
- Removes redundant null check for channels array in for loop,
if one of the channel cannot be allocated, dgap_tty_init() just returns
an error.
Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgap/dgap.c
patch
|
blob
|
history
diff --cc
drivers/staging/dgap/dgap.c
Simple merge