Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;