Re: [PATCH 6/6] staging: ks7010: Factor out repeated request initialization code.

2018-03-22 Thread Greg KH
On Mon, Mar 19, 2018 at 10:58:15PM -0700, Quytelda Kahja wrote: > The code to initialize various different types of request structs > is repeated multiple times. Factor this code out into a macro > called INIT_REQUEST. > > Signed-off-by: Quytelda Kahja > --- > drivers/staging/ks7010/ks_hostif.c

[PATCH 6/6] staging: ks7010: Factor out repeated request initialization code.

2018-03-19 Thread Quytelda Kahja
The code to initialize various different types of request structs is repeated multiple times. Factor this code out into a macro called INIT_REQUEST. Signed-off-by: Quytelda Kahja --- drivers/staging/ks7010/ks_hostif.c | 55 +++--- 1 file changed, 16 insertions(+)

[PATCH 6/6] staging: ks7010: Factor out repeated request initialization code.

2018-03-15 Thread Quytelda Kahja
The code to initialize various different types of request structs is repeated multiple times. Factor this code out into a macro called INIT_REQUEST. Signed-off-by: Quytelda Kahja --- drivers/staging/ks7010/ks_hostif.c | 55 +++--- 1 file changed, 16 insertions(+)