glx: Remove a can't-happen NULL check

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20549>
This commit is contained in:
Adam Jackson 2023-01-03 17:12:21 -05:00 committed by Marge Bot
parent 9de2776e01
commit f53ec64d68

View file

@ -492,9 +492,6 @@ driReleaseDrawables(struct glx_context *gc)
{
const struct glx_display *priv = gc->psc->display;
if (priv == NULL)
return;
releaseDrawable(priv, gc->currentDrawable);
releaseDrawable(priv, gc->currentReadable);