Commit f19b72c6 authored by Sachin Kamat's avatar Sachin Kamat Committed by Greg Kroah-Hartman

thunderbolt: Use NULL instead of 0 in nhi.c

'descriptors' is a pointer. Use NULL isntead of 0.
Signed-off-by: default avatarSachin Kamat <sachin.kamat@samsung.com>
Acked-by: default avatarAndreas Noever <andreas.noever@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8db353bd
......@@ -416,7 +416,7 @@ void ring_free(struct tb_ring *ring)
ring->size * sizeof(*ring->descriptors),
ring->descriptors, ring->descriptors_dma);
ring->descriptors = 0;
ring->descriptors = NULL;
ring->descriptors_dma = 0;
......
Markdown is supported
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