summaryrefslogtreecommitdiffstats
path: root/fs/fs.c
diff options
context:
space:
mode:
authorAhmad Fatoum <ahmad@a3f.at>2020-02-12 10:38:39 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2020-02-14 08:43:56 +0100
commitee6a508d2b1738c30d4e2eab06ce5732d172524d (patch)
treec388bce162ac1be2b9bccb9d0fcad40636020b47 /fs/fs.c
parenta6bd302075aaecdc3d0e1836a725c0d09c9ad2ec (diff)
downloadbarebox-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 'fs/fs.c')
0 files changed, 0 insertions, 0 deletions