From: Jie Liu Date: Fri, 1 Nov 2013 14:22:08 +0000 (+0800) Subject: staging: ozwpan: remove unneeded __GFP_ZERO to kzalloc() at oz_elt_stream_create() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9961d59d3fe7b8bd135f4a8506bd7e5f4d919dbe;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git staging: ozwpan: remove unneeded __GFP_ZERO to kzalloc() at oz_elt_stream_create() Get rid of the needless __GFP_ZERO flag for kzalloc() at oz_elt_stream_create(). Signed-off-by: Jie Liu Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/ozwpan/ozeltbuf.c b/drivers/staging/ozwpan/ozeltbuf.c index 9b86486c6b11..02d541247819 100644 --- a/drivers/staging/ozwpan/ozeltbuf.c +++ b/drivers/staging/ozwpan/ozeltbuf.c @@ -138,7 +138,7 @@ int oz_elt_stream_create(struct oz_elt_buf *buf, u8 id, int max_buf_count) oz_dbg(ON, "%s: (0x%x)\n", __func__, id); - st = kzalloc(sizeof(struct oz_elt_stream), GFP_ATOMIC | __GFP_ZERO); + st = kzalloc(sizeof(struct oz_elt_stream), GFP_ATOMIC); if (st == NULL) return -ENOMEM; atomic_set(&st->ref_count, 1);