diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2015-12-29 23:45:34 +0300 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2016-02-29 13:02:45 +0300 |
commit | 1856de3d3e6cd6c2fe2f53f29f6b572795e3257a (patch) | |
tree | a48a871de3383244760b7011614af6538f76dc14 /virt | |
parent | c48c5d580e2aa6c22759836759b3c01e4ee9e8c0 (diff) | |
download | linux-1856de3d3e6cd6c2fe2f53f29f6b572795e3257a.tar.xz |
mmc: sdricoh_cs: Less checks in sdricoh_init_mmc() after, error detection
This issue was detected by using the Coccinelle software.
Two pointer checks could be repeated by the sdricoh_init_mmc() function
during error handling even if the relevant properties can be determined
for the involved variables before by source code analysis.
* This implementation detail could be improved by adjustments
for jump targets according to the Linux coding style convention.
* Drop an unnecessary initialisation for the variable "mmc" then.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions