samples: configfs: don't reinitialize variables which are already zeroed
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Thu, 24 Sep 2020 12:45:22 +0000 (14:45 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 7 Oct 2020 13:45:00 +0000 (15:45 +0200)
commit91aad62560fc8cc11a1f04e627da0c0f0d33ef08
tree2720c976c34c0316305877c35ffcdf1801a36be6
parentb86ff67d5a28f3ac1479d99b8a687e7107c58ae6
samples: configfs: don't reinitialize variables which are already zeroed

The structure containing the storeme field is allocated using kzalloc().
There's no need to set it to 0 again.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
samples/configfs/configfs_sample.c