From 303be910f9e8d9909ffe6eabf44cf0ceb5b3e34e Mon Sep 17 00:00:00 2001 From: Janusz Sobczak Date: Mon, 9 Aug 2010 13:21:27 +0200 Subject: [PATCH] gpu: pvr: Remove needless NULL check in BM_CreateHeap. Signed-off-by: Janusz Sobczak Signed-off-by: Imre Deak --- pvr/buffer_manager.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/pvr/buffer_manager.c b/pvr/buffer_manager.c index 8381958..8f1190c 100644 --- a/pvr/buffer_manager.c +++ b/pvr/buffer_manager.c @@ -696,9 +696,6 @@ void *BM_CreateHeap(void *hBMContext, PVR_DPF(PVR_DBG_MESSAGE, "BM_CreateHeap"); - if (!pBMContext) - return NULL; - if (pBMContext->ui32RefCount > 0) { psBMHeap = pBMContext->psBMHeap; -- 2.47.2