# Re: \[PATCH\] zram: fix NULL check before some freeing functions is not needed

- From: Minchan Kim \<minchan@kernel.org\>
- Date: 2021-01-25 20:11:20 
- List: linux-block
- Page: https://ratatoskr.run/linux-block/2021/01/6400485
- Thread: https://ratatoskr.run/linux-block/2021/01/6400534/t.md

```text
On Mon, Jan 25, 2021 at 04:13:01PM +0800, Tian Tao wrote:
> fixed the below warning:
> /drivers/block/zram/zram_drv.c:534:2-8: WARNING: NULL check
> before some freeing functions is not needed.
> 
> Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
Acked-by: Minchan Kim <minchan@kernel.org>

Thanks.
```
