aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/gcc-common.h
diff options
context:
space:
mode:
authorPierre-Louis Bossart <[email protected]>2019-04-10 22:16:59 -0500
committerVinod Koul <[email protected]>2019-04-14 15:33:26 +0530
commit7de8d238dd91dcb4c1200facdf7d510896927883 (patch)
tree48e5c880a69d45ee52362d1803f66baae169ede6 /scripts/gcc-plugins/gcc-common.h
parent4ac5627acc3e32c6a2acf5d570efc998792f2a65 (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 <[email protected]> Reviewed-by: Takashi Iwai <[email protected]> Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-common.h')
0 files changed, 0 insertions, 0 deletions