diff options
author | 2017-10-18 10:48:25 +0300 | |
---|---|---|
committer | 2017-10-20 08:34:00 +0100 | |
commit | c75e427d9349ec3e0059752cc784e1c301474c2d (patch) | |
tree | 3f955552a1d3a5d6ccd22cda5432d5fc6c173009 /drivers/net/tun.c | |
parent | Merge branch 'sh_eth-fallback-compat-strings' (diff) | |
download | wireguard-linux-c75e427d9349ec3e0059752cc784e1c301474c2d.tar.xz wireguard-linux-c75e427d9349ec3e0059752cc784e1c301474c2d.zip |
tipc: checking for NULL instead of IS_ERR()
The tipc_alloc_conn() function never returns NULL, it returns error
pointers, so I have fixed the check.
Fixes: 14c04493cb77 ("tipc: add ability to order and receive topology events in driver")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tun.c')
0 files changed, 0 insertions, 0 deletions