Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The check of the return value of sock_register() is ineffective. "if(!err)" seems to be a typo. It is better to propagate the error code to the callers of caif_sktinit_module(). This patch removes the check statment and directly returns the result of sock_register(). Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=188751 Signed-off-by: Pan Bian <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information