NFC: Remove repeated code for NULL check
authorSyam Sidhardhan <syamsidhardh@gmail.com>
Wed, 15 Aug 2012 19:25:43 +0000 (00:55 +0530)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 24 Sep 2012 22:17:23 +0000 (00:17 +0200)
commit5db327f96daa2401b9afec6cd80cebe6c6475bb1
treedaa174a7bbf4174c662075d3682e781a06a24104
parent058576ddfb31762bfce70086a3c12678a97c4d75
NFC: Remove repeated code for NULL check

This patch remove the repeated code for checking llcp_sock &
llcp_sock->dev against NULL.

Signed-off-by: Syam Sidhardhan <s.syam@samsung.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
net/nfc/llcp/sock.c