Commit a966816
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>1 parent fef018d commit a966816
1 file changed
Lines changed: 3 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1109 | 1109 | | |
1110 | 1110 | | |
1111 | 1111 | | |
1112 | | - | |
1113 | | - | |
1114 | | - | |
1115 | | - | |
| 1112 | + | |
| 1113 | + | |
| 1114 | + | |
1116 | 1115 | | |
1117 | 1116 | | |
1118 | 1117 | | |
| |||
1179 | 1178 | | |
1180 | 1179 | | |
1181 | 1180 | | |
1182 | | - | |
1183 | | - | |
1184 | | - | |
1185 | 1181 | | |
1186 | 1182 | | |
1187 | 1183 | | |
| |||
0 commit comments