commit | 7de8d238dd91dcb4c1200facdf7d510896927883 | [log] [tgz] |
---|---|---|
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | Wed Apr 10 22:16:59 2019 -0500 |
committer | Vinod Koul <vkoul@kernel.org> | Sun Apr 14 15:33:26 2019 +0530 |
tree | 48e5c880a69d45ee52362d1803f66baae169ede6 | |
parent | 4ac5627acc3e32c6a2acf5d570efc998792f2a65 [diff] |
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>