summaryrefslogtreecommitdiff
path: root/util/intelp2m/fields/cb
diff options
context:
space:
mode:
authorMaxim Polyakov <max.senia.poliak@gmail.com>2021-06-30 16:14:53 +0300
committerPatrick Georgi <pgeorgi@google.com>2021-07-02 07:48:58 +0000
commit8b35851e4c994943fab1d0f0c484e5f38cd0729c (patch)
treef14fd90b4b8e2b5fcc6a6343cf9155e7eb27324a /util/intelp2m/fields/cb
parent421ce56f833edcfe34788ff07ebf5e09d582ff9f (diff)
util/intelp2m: use import once for all included modules
There is no need to repeat "import" for each module in GoLang. Use this keyword only once in each file for code cleanliness. Change-Id: Ibb24fafd409b31b174946a39ca1f810d59b87e76 Signed-off-by: Maxim Polyakov <max.senia.poliak@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/55985 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Matt DeVillier <matt.devillier@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'util/intelp2m/fields/cb')
-rw-r--r--util/intelp2m/fields/cb/cb.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/util/intelp2m/fields/cb/cb.go b/util/intelp2m/fields/cb/cb.go
index 3bda62e719..3603aac532 100644
--- a/util/intelp2m/fields/cb/cb.go
+++ b/util/intelp2m/fields/cb/cb.go
@@ -1,7 +1,9 @@
package cb
-import "../../config"
-import "../../platforms/common"
+import (
+ "../../config"
+ "../../platforms/common"
+)
type FieldMacros struct {}