]> git.baikalelectronics.ru Git - kernel.git/commit
staging: ks7010: remove null check after call container_of()
authorHaowen Bai <baihaowen@meizu.com>
Mon, 16 May 2022 10:18:41 +0000 (18:18 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 May 2022 15:42:41 +0000 (17:42 +0200)
commiteaa60380d5930873a8281bd5894eb4c68206b9e1
tree7f6ca53b6746544ea328df9c6e85c4751e65b26d
parent13d454a12b798d328bdff96347a5b3a241824708
staging: ks7010: remove null check after call container_of()

container_of() will never return NULL, so remove useless code.

Signed-off-by: Haowen Bai <baihaowen@meizu.com>
Link: https://lore.kernel.org/r/1652696322-17685-1-git-send-email-baihaowen@meizu.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks_hostif.c