vulkan: Remove unnecessary null checks
authorMarijn Suijten <marijns95@gmail.com>
Tue, 5 Jan 2021 21:33:12 +0000 (22:33 +0100)
committerMarijn Suijten <marijns95@gmail.com>
Tue, 1 Nov 2022 14:19:51 +0000 (15:19 +0100)
commit3d081c45be8e329bb5ab05f50f51b3174fbab164
tree19ab92a9767ff6e1be488eb5b69c87531350e743
parentebe7517b8e658c357eb77d7750d8ee2e33df7640
vulkan: Remove unnecessary null checks

These null checkes are slightly misleading when double-checking
mutability for external language interop.  None of the functions in
these files allow the variable at hand to become `NULL` under normal
operation, because they are checked at initialization and never (allowed
to be) reassigned to `NULL`.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1615>
subprojects/gst-plugins-bad/gst-libs/gst/vulkan/gstvkcommandpool.c
subprojects/gst-plugins-bad/gst-libs/gst/vulkan/gstvkdescriptorpool.c
subprojects/gst-plugins-bad/gst-libs/gst/vulkan/gstvkdevice.c
subprojects/gst-plugins-bad/gst-libs/gst/vulkan/gstvkphysicaldevice.c
subprojects/gst-plugins-bad/gst-libs/gst/vulkan/gstvkqueue.c