Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
blocklevel: smart_write: Avoid indirectly testing formal parameters
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>
- Loading branch information