diff options
author | 2016-12-04 12:15:44 +0800 | |
---|---|---|
committer | 2016-12-05 14:48:48 -0500 | |
commit | c79e167c3cba066892542f3dfb5e73b7207e01df (patch) | |
tree | 2688a8e811b47fff31d7c5ed42e814679b52c8f3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: ping: check minimum size on ICMP header length (diff) | |
download | linux-dev-c79e167c3cba066892542f3dfb5e73b7207e01df.tar.xz linux-dev-c79e167c3cba066892542f3dfb5e73b7207e01df.zip |
net: caif: remove ineffective check
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 <bianpan2016@163.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions