Files
Gleb Chesnokov ebae8bd223 scst: Remove unnecessary null check
kmem_cache_destroy() can handle NULL pointer correctly, so there is no need
to check NULL pointer before calling kmem_cache_destroy().

For kernel versions before v4.3 there is a backport of
kmem_cache_destroy() that checks for a null pointer.

This patch fixes the following checkpatch warnings:

    WARNING:NEEDLESS_IF: kmem_cache_destroy(NULL) is safe and this check
    is probably not required
2022-08-09 19:38:00 +03:00
..
2018-01-13 03:31:26 +00:00
2020-07-19 01:18:24 +00:00
2020-12-20 02:07:40 +00:00
2021-11-03 14:27:57 +00:00
2018-04-12 03:49:10 +00:00
2021-11-22 03:49:47 +00:00
2020-08-02 21:22:13 +00:00
2022-08-09 19:38:00 +03:00