Commit 799030b7 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by John W. Linville
Browse files

NFC: Quiet nci/ntf.c sparse noise about plain integer as NULL pointer

Pointers should be cleared with NULL, not 0.

Quiets a couple sparse warnings of the type:

warning: Using plain integer as NULL pointer
Signed-off-by: default avatarH Hartley Sweeten <>
Cc: Lauro Ramos Venancio <>
Cc: Aloisio Almeida Jr <>
Cc: Samuel Ortiz <>
Cc: "David S. Miller" <>
Signed-off-by: default avatarSamuel Ortiz <>
Signed-off-by: default avatarJohn W. Linville <>
parent 502b4240
......@@ -497,7 +497,7 @@ static void nci_rf_deactivate_ntf_packet(struct nci_dev *ndev,
/* drop partial rx data packet */
if (ndev->rx_data_reassembly) {
ndev->rx_data_reassembly = 0;
ndev->rx_data_reassembly = NULL;
/* complete the data exchange transaction, if exists */
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment