summaryrefslogtreecommitdiff
path: root/src/soc/amd/stoneyridge/sata.c
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2017-11-03 11:53:08 -0600
committerAaron Durbin <adurbin@chromium.org>2017-11-04 02:58:41 +0000
commit426dc8e8277da1e8a8a6fc70d72fb178da756431 (patch)
tree338282bfe4bf7a7eb649465ac516d1b5ab9d72fc /src/soc/amd/stoneyridge/sata.c
parent8dd40061619913c9f7dea9a82329ae13fc73e450 (diff)
downloadcoreboot-426dc8e8277da1e8a8a6fc70d72fb178da756431.tar.xz
soc/amd/stoneyridge: remove superfluous NULL field initialization
By definition in C, fields that are not explicitly initialized will be zero'd out. Therefore, remove the redundant struture field initialization. Change-Id: I1b3b2ddf6d2a763e65861a7bcebc6b7cd96691c2 Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/22314 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Diffstat (limited to 'src/soc/amd/stoneyridge/sata.c')
-rw-r--r--src/soc/amd/stoneyridge/sata.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/soc/amd/stoneyridge/sata.c b/src/soc/amd/stoneyridge/sata.c
index 20582bd226..5376786a91 100644
--- a/src/soc/amd/stoneyridge/sata.c
+++ b/src/soc/amd/stoneyridge/sata.c
@@ -63,7 +63,6 @@ static struct device_operations sata_ops = {
.set_resources = pci_dev_set_resources,
.enable_resources = pci_dev_enable_resources,
.init = sata_init,
- .scan_bus = NULL,
.ops_pci = &lops_pci,
};