]> 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)
commit848e2020615ddb6a74d82997ae9353eae2f95890
tree7f6ca53b6746544ea328df9c6e85c4751e65b26d
parentf0ab97b631d180a10289ff7fc1aabd3b161d45a0
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