[coreboot-gerrit] New patch to review for filo: 8c770c8 drivers/sb600.c: Remove unused variable `res`
Paul Menzel (paulepanter@users.sourceforge.net)
gerrit at coreboot.org
Thu Jun 11 11:04:26 CEST 2015
Paul Menzel (paulepanter at users.sourceforge.net) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10513
-gerrit
commit 8c770c85327592775a6406ed252560254f493d7e
Author: Paul Menzel <paulepanter at users.sourceforge.net>
Date: Thu Jun 11 10:58:37 2015 +0200
drivers/sb600.c: Remove unused variable `res`
Fix the following warning.
/tmp/coreboot/payloads/external/FILO/filo/drivers/sb600.c: In function 'sb600_spi_lockdown':
/tmp/coreboot/payloads/external/FILO/filo/drivers/sb600.c:1207:6: warning: unused variable 'res' [-Wunused-variable]
int res;
^
Change-Id: I7f1f88d8fc0097189b96df1a2beae221a3d0d9e0
Signed-off-by: Paul Menzel <paulepanter at users.sourceforge.net>
---
drivers/sb600.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/sb600.c b/drivers/sb600.c
index 6e335fb..700af00 100644
--- a/drivers/sb600.c
+++ b/drivers/sb600.c
@@ -1204,7 +1204,6 @@ static int enable_flash_sb600(struct pci_dev *dev)
int sb600_spi_lockdown(void) {
struct flashchip *flash;
struct pci_dev *dev;
- int res;
dev = pci_dev_find(0x1002, 0x438d);
if (!dev) {
More information about the coreboot-gerrit
mailing list