Hello Bruce, On 08/28/2014 05:42 PM, Bruce Richardson wrote: > Since all unspecified fields in an initializer are assumed to be zero we > can simplify the empty mbuf definition in the vector driver to only use > the fields that are non-zero, i.e. just nb_segs = 1. This makes things > shorter and means that the structure doesn't need as many updates for > other fields being renamed or moved. > > The variable itself is never modified and only used by a single function > so it can be made const and local to the using function. > > Changes in v2: > * None > > Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
Acked-by: Olivier Matz <olivier.matz at 6wind.com>