diff options
author | Ahmad Fatoum <ahmad@a3f.at> | 2020-02-12 10:38:39 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-02-14 08:43:56 +0100 |
commit | ee6a508d2b1738c30d4e2eab06ce5732d172524d (patch) | |
tree | c388bce162ac1be2b9bccb9d0fcad40636020b47 /include/password.h | |
parent | a6bd302075aaecdc3d0e1836a725c0d09c9ad2ec (diff) | |
download | barebox-ee6a508d2b1738c30d4e2eab06ce5732d172524d.tar.gz barebox-ee6a508d2b1738c30d4e2eab06ce5732d172524d.tar.xz |
serial: ns16550_pci: fix possible read of uninitialized variable
When quirk->init is NULL, we evaluate an uninitialized rc.
Is we have already checked for rc < 0 at the point of assignment,
this if clause isn't needed. Remove it.
Signed-off-by: Ahmad Fatoum <ahmad@a3f.at>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/password.h')
0 files changed, 0 insertions, 0 deletions