Re: [PATCH] usb: gadget: udc: remove redundant initial assignments to the pointer 's'

2017-03-28 Thread Sergei Shtylyov
Hello! On 3/28/2017 1:34 AM, Colin King wrote: From: Colin Ian King The initial setting of pointer s to the driver name or to the literal string "(none)" is redundant as later it is always set to point to a different literal string before it is printed log. Remove

Re: [PATCH] usb: gadget: udc: remove redundant initial assignments to the pointer 's'

2017-03-28 Thread Sergei Shtylyov
Hello! On 3/28/2017 1:34 AM, Colin King wrote: From: Colin Ian King The initial setting of pointer s to the driver name or to the literal string "(none)" is redundant as later it is always set to point to a different literal string before it is printed log. Remove this Printed to log,

RE: [PATCH] usb: gadget: udc: remove redundant initial assignments to the pointer 's'

2017-03-27 Thread YUAN Linyu
Hi, > -Original Message- > From: Colin King [mailto:colin.k...@canonical.com] > Sent: Tuesday, March 28, 2017 6:35 AM > To: Felipe Balbi; Greg Kroah-Hartman; YUAN Linyu; Bhumika Goyal; Michal > Nazarewicz; linux-...@vger.kernel.org > Cc: kernel-janit...@vger.kernel.org;

RE: [PATCH] usb: gadget: udc: remove redundant initial assignments to the pointer 's'

2017-03-27 Thread YUAN Linyu
Hi, > -Original Message- > From: Colin King [mailto:colin.k...@canonical.com] > Sent: Tuesday, March 28, 2017 6:35 AM > To: Felipe Balbi; Greg Kroah-Hartman; YUAN Linyu; Bhumika Goyal; Michal > Nazarewicz; linux-...@vger.kernel.org > Cc: kernel-janit...@vger.kernel.org;