On Thu, Feb 11, 2016 at 01:29:23PM +0100, Jiri Slaby wrote: > From: Daniel Chromik <[email protected]> > > There is an anonymous struct which is actually used as a bitmap. So > convert the struct to a bitmap and change code accordingly where > needed. > > This also allows for a cleanup of set_data_bits and set_ctrl_bits as > they can use a common helper now. The helper can also be converted to > a for loop instead of doing bit OR. And given it is a for loop now, > bit masking (using BIT_MSK) is moved from the callers there too. > > Signed-off-by: Daniel Chromik <[email protected]> > Signed-off-by: Jiri Slaby <[email protected]> > Cc: Willy Tarreau <[email protected]> > Cc: Ksenija Stanojevic <[email protected]>
Acked-by: Willy Tarreau <[email protected]> Thanks, Willy

