Re: [PATCH 2/2] usb: xhci: mem: convert to a switch statement

2016-12-19 Thread Felipe Balbi
Hi again, Felipe Balbi writes: > Hi, > > Felipe Balbi writes: >> when getting endpoint type a switch statement looks >> better than a series of if () branches. There are no >> functional changes with this patch, cleanup only. >> >> Signed-off-by: Felipe Balbi > > ping here too. Any comments?

Re: [PATCH 2/2] usb: xhci: mem: convert to a switch statement

2016-12-13 Thread Felipe Balbi
Hi, Felipe Balbi writes: > when getting endpoint type a switch statement looks > better than a series of if () branches. There are no > functional changes with this patch, cleanup only. > > Signed-off-by: Felipe Balbi ping here too. Any comments? -- balbi signature.asc Description: PGP sig

[PATCH 2/2] usb: xhci: mem: convert to a switch statement

2016-05-22 Thread Felipe Balbi
when getting endpoint type a switch statement looks better than a series of if () branches. There are no functional changes with this patch, cleanup only. Signed-off-by: Felipe Balbi --- drivers/usb/host/xhci-mem.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/dr

[PATCH 2/2] usb: xhci: mem: convert to a switch statement

2016-05-03 Thread Felipe Balbi
when getting endpoint type a switch statement looks better than a series of if () branches. There are no functional changes with this patch, cleanup only. Signed-off-by: Felipe Balbi --- drivers/usb/host/xhci-mem.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/dr