]> www.infradead.org Git - users/jedix/linux-maple.git/commit
staging: vme: vme_user: Remove NULL check of list_entry()
authorYuesong Li <liyuesong@vivo.com>
Thu, 22 Aug 2024 02:57:36 +0000 (10:57 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Aug 2024 07:48:05 +0000 (15:48 +0800)
commit94f7f4b90d6c815d68359a979006f8b3b1e90dc0
tree627917bde0e2eb6e5e3fb56334b707011df1279c
parentf64a887f8f695fa0e955ea7aaff5c75d8a65a4d9
staging: vme: vme_user: 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>
Link: https://lore.kernel.org/r/20240822025736.1208339-1-liyuesong@vivo.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vme_user/vme.c