]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dm bufio: Remove NULL check of list_entry()
authorYuesong Li <liyuesong@vivo.com>
Thu, 22 Aug 2024 02:14:00 +0000 (10:14 +0800)
committerMikulas Patocka <mpatocka@redhat.com>
Thu, 22 Aug 2024 16:32:55 +0000 (18:32 +0200)
commit02c0207ecdcc9abdf3442676154f8fd2be0f649a
treeba9d7e474a966505c43f5b8ee28e4cc37531df7e
parent4441686b24a1d7acf9834ca95864d67e3f97666a
dm bufio: Remove NULL check of list_entry()

list_entry() will never return a NULL pointer, thus remove the
check.

Signed-off-by: Yuesong Li <liyuesong@vivo.com>
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
drivers/md/dm-bufio.c