Re: [PATCH] libnvdimm, namespace: remove redundant initialization of 'nd_mapping'

2018-01-30 Thread Ross Zwisler
On Tue, Jan 30, 2018 at 05:47:07PM +, Colin King wrote: > From: Colin Ian King > > Pointer nd_mapping is being initialized to a value that is never read, > instead it is being updated to a new value in all the cases where it > is being read afterwards, hence the

[PATCH] libnvdimm, namespace: remove redundant initialization of 'nd_mapping'

2018-01-30 Thread Colin King
From: Colin Ian King Pointer nd_mapping is being initialized to a value that is never read, instead it is being updated to a new value in all the cases where it is being read afterwards, hence the initialization is redundant and can be removed. Cleans up clang warning: