diff options
author | Aditya Pakki <[email protected]> | 2019-12-15 13:43:44 -0600 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2019-12-17 17:26:08 +0100 |
commit | 8b6fc114beeb9f1a270e5b6d25c30a5143801bf8 (patch) | |
tree | a77e1a24914f58ad7893da22143e8f4846d88168 /lib/mpi/mpi-mul.c | |
parent | 4f865a74c8f8a694eb9f6b6fdb8f5d8f475c8875 (diff) |
drm: remove duplicate check on parent and avoid BUG_ON
In drm_dev_init, parent is checked for NULL via assert after
checked in devm_drm_dev_init(). The patch removes the duplicate
check and replaces the assertion with WARN_ON. Further, it returns
-EINVAL consistent with the usage in devm_drm_dev_init.
Signed-off-by: Aditya Pakki <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/mpi/mpi-mul.c')
0 files changed, 0 insertions, 0 deletions