Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

usb: misc: uss720: don't print on ENOMEM

All kmalloc-based functions print enough information on failures.

Signed-off-by: Wolfram Sang <wsa-dev@sang-engineering.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Wolfram Sang and committed by
Greg Kroah-Hartman
c9220ba5 bcf0848d

+1 -3
+1 -3
drivers/usb/misc/uss720.c
··· 150 150 if (!usbdev) 151 151 return NULL; 152 152 rq = kzalloc(sizeof(struct uss720_async_request), mem_flags); 153 - if (!rq) { 154 - dev_err(&usbdev->dev, "submit_async_request out of memory\n"); 153 + if (!rq) 155 154 return NULL; 156 - } 157 155 kref_init(&rq->ref_count); 158 156 INIT_LIST_HEAD(&rq->asynclist); 159 157 init_completion(&rq->compl);