diff options
| author | 2016-07-06 15:11:52 +0900 | |
|---|---|---|
| committer | 2016-08-15 19:06:09 +0200 | |
| commit | 290e3abaccbac6afeb3376b13627b3fc6974554b (patch) | |
| tree | a65a243968cc95a6906348ca4c82984e1bfd697c /include/linux | |
| parent | staging: dgnc: remove redundant NULL checks in (diff) | |
staging: dgnc: remove useless error value assignment
The "result" variable in dgnc_get_mstat() was initialized with
"-EIO". But if the "ch" is not null, "result" will be set to zero
and if the "ch" is null, dgnc_get_mstat() will return "-ENXIO" as
an error. So "-EIO" error value was useless in dgnc_get_mstat().
Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
