aboutsummaryrefslogtreecommitdiff
path: root/hw/nx-crypto.c
diff options
context:
space:
mode:
authorAndrew Jeffery <andrew@aj.id.au>2019-10-03 15:23:38 +0930
committerVasant Hegde <hegdevasant@linux.vnet.ibm.com>2019-10-23 16:23:16 +0530
commit0a8f204c9d42d47177c23dd9f8fcd45113b601fc (patch)
tree80a61ad4ea416ef6559e7d0916675bfeb63c6227 /hw/nx-crypto.c
parented04c6c30fb9ae49dcd18323559d6159e36bc486 (diff)
downloadskiboot-0a8f204c9d42d47177c23dd9f8fcd45113b601fc.zip
skiboot-0a8f204c9d42d47177c23dd9f8fcd45113b601fc.tar.gz
skiboot-0a8f204c9d42d47177c23dd9f8fcd45113b601fc.tar.bz2
blocklevel: smart_write: Avoid indirectly testing formal parameters
[ Upstream commit 6867bd54c21b023b74e924abd6f4c3f1cd9959c2 ] The early-exit tests write_buf, but write_buf is assigned to buf on declaration. Test buf directly instead to avoid unnecessary indirection. Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Signed-off-by: Oliver O'Halloran <oohall@gmail.com> Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Diffstat (limited to 'hw/nx-crypto.c')
0 files changed, 0 insertions, 0 deletions