Clean up buffer.c
Clean up buffer.c

Signed-off-by: Pekka Enberg <add4fcd06328a394f0ad91feda7ee057316dc5ed@kernel.org>

svdev/libtrading,jvirtanen/libtrading,Bitcoinsulting/libtrading,mstanichenko/libtrading,mstanichenko/libtrading,penberg/libtrading,divaykin/libtrading,etoestja/libtrading,femtotrader/libtrading,penberg/libtrading,NunoEdgarGub1/libtrading,libtrading/libtrading,fengzhyuan/libtrading,Bitcoinsulting/libtrading,jvirtanen/libtrading,etoestja/libtrading,fengzhyuan/libtrading,libtrading/libtrading,NunoEdgarGub1/libtrading,svdev/libtrading,divaykin/libtrading,femtotrader/libtrading