From 5cceb42c773aa404456417685ea50b2ada5570a2 Mon Sep 17 00:00:00 2001 From: Geoff Levand Date: Wed, 15 Feb 2012 11:23:55 -0800 Subject: [PATCH 1/1] Remove union in pb_opt_data Signed-off-by: Geoff Levand --- ui/common/ui-system.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ui/common/ui-system.h b/ui/common/ui-system.h index 2dc37a3..ca5edb4 100644 --- a/ui/common/ui-system.h +++ b/ui/common/ui-system.h @@ -47,10 +47,8 @@ struct pb_opt_data { struct pb_kexec_data *kd; /* optional data */ - union { - const struct device *dev; - const struct boot_option *opt; - }; + const struct device *dev; + const struct boot_option *opt; uint32_t opt_hash; }; -- 2.39.2