soundwire: remove useless initializations
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Thu, 11 Apr 2019 03:16:59 +0000 (22:16 -0500)
committerVinod Koul <vkoul@kernel.org>
Sun, 14 Apr 2019 10:03:26 +0000 (15:33 +0530)
commit7de8d238dd91dcb4c1200facdf7d510896927883
tree48e5c880a69d45ee52362d1803f66baae169ede6
parent4ac5627acc3e32c6a2acf5d570efc998792f2a65
soundwire: remove useless initializations

No need for explicit initialization of page and ssp fields, they are
already zeroed with a memset.

Detected with cppcheck:

[drivers/soundwire/bus.c:309]: (style) Variable 'msg->page' is
reassigned a value before the old one has been used.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/soundwire/bus.c