]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6a9f3ba2b8605c68801d113f49625f3498259956
treedaa174a7bbf4174c662075d3682e781a06a24104
parent0abfd7126fd13b3c2033684df846caa0d38d6475
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