diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2012-06-27 12:23:48 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-07-09 16:42:20 -0400 |
commit | 1550bf2d59a5ab74c5c14f2e65ed83516ca7d74d (patch) | |
tree | 781b7269a5fc4e9049a578036382b358c71cf6aa | |
parent | 5c0560b7a5c662ce5fef6ddd52f7bc8d38ad1907 (diff) | |
download | kernel_goldelico_gta04-1550bf2d59a5ab74c5c14f2e65ed83516ca7d74d.zip kernel_goldelico_gta04-1550bf2d59a5ab74c5c14f2e65ed83516ca7d74d.tar.gz kernel_goldelico_gta04-1550bf2d59a5ab74c5c14f2e65ed83516ca7d74d.tar.bz2 |
NFC: Remove warning from nfc_llcp_local_put
The socket local pointer can be NULL when a socket is created but never
bound or connected.
Reported-by: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
-rw-r--r-- | net/nfc/llcp/llcp.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/nfc/llcp/llcp.c b/net/nfc/llcp/llcp.c index f3bc0a9..82f0f75 100644 --- a/net/nfc/llcp/llcp.c +++ b/net/nfc/llcp/llcp.c @@ -123,8 +123,6 @@ static void local_release(struct kref *ref) int nfc_llcp_local_put(struct nfc_llcp_local *local) { - WARN_ON(local == NULL); - if (local == NULL) return 0; |