Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4edd5865 authored by Dan Carpenter's avatar Dan Carpenter Committed by Jack Pham
Browse files

usb: gadget: f_uac1: remove an unneeded NULL check



This NULL check sets off a static checker warning because we already
dereferenced "card" earlier in the function.  However, since "card" is
never NULL so we can just remove the check.

Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
Change-Id: Ic81cc20a9cdaee517eb18d1f2aed76e6b9cc877e
Git-commit: 60b388befb42d1e90a8594cdcfe80dbf57542ac0
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git


[jackp@codeaurora.org: trivial conflict due to added pr_err()]
Signed-off-by: default avatarJack Pham <jackp@codeaurora.org>
parent 153cc9a3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment