diff options
author | Dan Carpenter | 2012-05-07 12:31:18 +0200 |
---|---|---|
committer | John W. Linville | 2012-05-15 23:28:01 +0200 |
commit | 0f909361062d42b0ff7c6522e2347b56a0bf43cc (patch) | |
tree | b9ff8df94a1a9ed5c894336bdd6ecac87779f68e /net/nfc | |
parent | NFC: Update Documentation/nfc-hci.txt (diff) | |
download | kernel-qcow2-linux-0f909361062d42b0ff7c6522e2347b56a0bf43cc.tar.gz kernel-qcow2-linux-0f909361062d42b0ff7c6522e2347b56a0bf43cc.tar.xz kernel-qcow2-linux-0f909361062d42b0ff7c6522e2347b56a0bf43cc.zip |
NFC: Remove unneeded pn533 dev NULL check
container_of() works by subtracting the offset of the member. The math
can't really return a zero here. Sometimes people check it when they
actually meant to check something else but in this case we can just
remove the check.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/nfc')
0 files changed, 0 insertions, 0 deletions