]> git.ipfire.org Git - thirdparty/linux.git/commit
usb: dwc3: google: Remove redundant dev_err()
authorChen Ni <nichen@iscas.ac.cn>
Thu, 15 Jan 2026 02:38:00 +0000 (10:38 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Jan 2026 16:16:05 +0000 (17:16 +0100)
commit4298475deecbd12f7d5a83b340f59ae644c37a5e
treea4732db0df6446c86cf3f17a31f62d540bc33a7a
parentef548189fd3f44786fb813af0018cc8b3bbed2b9
usb: dwc3: google: Remove redundant dev_err()

The platform_get_irq_byname() function already prints an error message
internally upon failure using dev_err_probe(). Therefore, the explicit
dev_err() is redundant and results in duplicate error logs.

Remove the redundant dev_err() call to clean up the error path.

Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Acked-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Link: https://patch.msgid.link/20260115023800.4142416-1-nichen@iscas.ac.cn
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc3/dwc3-google.c