Commit 90876fd
committed
drm/dp_mst: Drop DRM_ERROR() on kzalloc() fail in drm_dp_mst_handle_up_req()
Checkpatch was complaining about this - there's no need for us to print
errors when kzalloc() fails, as kzalloc() will already WARN for us. So,
let's fix that before converting things to make checkpatch happy.
Signed-off-by: Lyude Paul <lyude@redhat.com>
Cc: Robert Foss <robert.foss@linaro.org>
Reviewed-by: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20210326203807.105754-20-lyude@redhat.com1 parent c5261e9 commit 90876fd
1 file changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4109 | 4109 | | |
4110 | 4110 | | |
4111 | 4111 | | |
4112 | | - | |
4113 | | - | |
| 4112 | + | |
4114 | 4113 | | |
4115 | | - | |
| 4114 | + | |
4116 | 4115 | | |
4117 | 4116 | | |
4118 | 4117 | | |
| |||
0 commit comments