--- zzzz-none-000/linux-3.10.107/arch/powerpc/lib/rheap.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/arch/powerpc/lib/rheap.c 2021-02-04 17:41:59.000000000 +0000 @@ -284,7 +284,7 @@ */ void rh_destroy(rh_info_t * info) { - if ((info->flags & RHIF_STATIC_BLOCK) == 0 && info->block != NULL) + if ((info->flags & RHIF_STATIC_BLOCK) == 0) kfree(info->block); if ((info->flags & RHIF_STATIC_INFO) == 0)