Skip to content
Commit 96ffa48c authored by Arkadiusz Lis's avatar Arkadiusz Lis Committed by Greg Kroah-Hartman
Browse files

staging: emxx_udc: remove unnecessary nullpointer checks



This patch removes nullpointer checks which are redundant. container_of
returns structure containing entity which we know for sure is not null,
so the whole structure can not be null.

Signed-off-by: default avatarArkadiusz Lis <areklis909@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3d426daf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment