]> git.itanic.dy.fi Git - linux-stable/commit
HID: hid-steam: remove pointless error message
authorDan Carpenter <dan.carpenter@linaro.org>
Fri, 12 Jan 2024 14:34:14 +0000 (17:34 +0300)
committerBenjamin Tissoires <bentiss@kernel.org>
Mon, 15 Jan 2024 10:54:08 +0000 (11:54 +0100)
commita9668169961106f3598384fe95004106ec191201
treee77bc27808fafec575e4e5be68e10f0fdb80f96e
parentfef018d8199661962b5fc0f0d1501caa54b2b533
HID: hid-steam: remove pointless error message

This error message doesn't really add any information.  If modprobe
fails then the user will already know what the error code is.  In the
case of kmalloc() it's a style violation to print an error message for
that because kmalloc has it's own better error messages built in.

Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Vicki Pfau <vi@endrift.com>
Link: https://lore.kernel.org/r/305898fb-6bd4-4749-806c-05ec51bbeb80@moroto.mountain
Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
drivers/hid/hid-steam.c