summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/lib/bitmap.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/lib/bitmap.c b/source3/lib/bitmap.c
index 894395fbc6..37c5b4510e 100644
--- a/source3/lib/bitmap.c
+++ b/source3/lib/bitmap.c
@@ -65,8 +65,6 @@ struct bitmap *bitmap_talloc(TALLOC_CTX *mem_ctx, int n)
{
struct bitmap *bm;
- if (!mem_ctx) return NULL;
-
bm = TALLOC_P(mem_ctx, struct bitmap);
if (!bm) return NULL;