[coreboot-gerrit] Change in coreboot[master]: soc/intel/cannonlake: Remove structure variable initialization with 0

Subrata Banik (Code Review) gerrit at coreboot.org
Fri Nov 10 06:03:13 CET 2017


Subrata Banik has uploaded this change for review. ( https://review.coreboot.org/22417


Change subject: soc/intel/cannonlake: Remove structure variable initialization with 0
......................................................................

soc/intel/cannonlake: Remove structure variable initialization with 0

Variable without an initializer will default to 0 hence no
need of an explicit initialization.

Change-Id: I208d5e475600b102cd3d972919b170c10c790b32
Signed-off-by: Subrata Banik <subrata.banik at intel.com>
---
M src/soc/intel/cannonlake/reset.c
1 file changed, 0 insertions(+), 3 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/17/22417/1

diff --git a/src/soc/intel/cannonlake/reset.c b/src/soc/intel/cannonlake/reset.c
index 8192e89..a270a56 100644
--- a/src/soc/intel/cannonlake/reset.c
+++ b/src/soc/intel/cannonlake/reset.c
@@ -54,9 +54,6 @@
 	} __packed;
 	struct reset_message msg = {
 		.cmd = MKHI_GLOBAL_RESET,
-		.group_id = 0,
-		.reserved = 0,
-		.result = 0,
 		.req_origin = GR_ORIGIN_BIOS_POST,
 		.reset_type = GLOBAL_RST_TYPE
 	};

-- 
To view, visit https://review.coreboot.org/22417
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I208d5e475600b102cd3d972919b170c10c790b32
Gerrit-Change-Number: 22417
Gerrit-PatchSet: 1
Gerrit-Owner: Subrata Banik <subrata.banik at intel.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20171110/bc0f47fc/attachment.html>


More information about the coreboot-gerrit mailing list