From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx> Date: Thu, 8 Dec 2016 11:37:37 +0100 Some update suggestions were taken into account from static source code analysis. Markus Elfring (5): Combine four kcalloc() calls into one in serial2002_setup_subdevs() Split a condition check in usbdux_alloc_usb_buffers() Move an assignment in usbdux_alloc_usb_buffers() Split a condition check in usbduxsigma_alloc_usb_buffers() Move an assignment in usbduxsigma_alloc_usb_buffers() drivers/staging/comedi/drivers/serial2002.c | 22 +++++----- drivers/staging/comedi/drivers/usbdux.c | 56 ++++++++++++++++++----- drivers/staging/comedi/drivers/usbduxsigma.c | 66 ++++++++++++++++++++++------ 3 files changed, 108 insertions(+), 36 deletions(-) -- 2.11.0 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel