aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/sbuf.h
diff options
context:
space:
mode:
authorConrad Meyer <cem@FreeBSD.org>2019-08-07 19:25:56 +0000
committerConrad Meyer <cem@FreeBSD.org>2019-08-07 19:25:56 +0000
commitd23813cdb9a927b0c2965fcb4979edaad5f21dae (patch)
tree0f6e1f018e20d8472e21a0cba26b85b88f4ad4b1 /sys/sys/sbuf.h
parent71db411eb627601a5f9a3464f88d75741927ce60 (diff)
downloadsrc-d23813cdb9a927b0c2965fcb4979edaad5f21dae.tar.gz
src-d23813cdb9a927b0c2965fcb4979edaad5f21dae.zip
sbuf(9): Refactor sbuf_newbuf into sbuf_new
Code flow was somewhat difficult to read due to the combination of multiple return sites and the 4x possible dynamic constructions of an sbuf. (Future consideration: do we need all 4?) Refactored slightly to improve legibility. No functional change. Sponsored by: Dell EMC Isilon
Notes
Notes: svn path=/head/; revision=350692
Diffstat (limited to 'sys/sys/sbuf.h')
0 files changed, 0 insertions, 0 deletions