[PATCH 3/4] Staging: unisys: Remove build_date and build_time from virtpci_driver structure

Ken Cox jkc at redhat.com
Wed Jun 25 16:48:25 UTC 2014


The drivers do not need to keep track of these fields since the same
information is present elsewhere in the kernel.

Signed-off-by: Ken Cox <jkc at redhat.com>
---
 drivers/staging/unisys/virthba/virthba.c | 2 --
 drivers/staging/unisys/virtpci/virtpci.h | 2 --
 2 files changed, 4 deletions(-)

diff --git a/drivers/staging/unisys/virthba/virthba.c b/drivers/staging/unisys/virthba/virthba.c
index e58f3b8..4d1347a 100644
--- a/drivers/staging/unisys/virthba/virthba.c
+++ b/drivers/staging/unisys/virthba/virthba.c
@@ -139,8 +139,6 @@ static struct virtpci_driver virthba_driver = {
 	.name = "uisvirthba",
 	.version = VERSION,
 	.vertag = NULL,
-	.build_date = NULL,
-	.build_time = NULL,
 	.id_table = virthba_id_table,
 	.probe = virthba_probe,
 	.remove = virthba_remove,
diff --git a/drivers/staging/unisys/virtpci/virtpci.h b/drivers/staging/unisys/virtpci/virtpci.h
index f7be17b..7539fcb 100644
--- a/drivers/staging/unisys/virtpci/virtpci.h
+++ b/drivers/staging/unisys/virtpci/virtpci.h
@@ -77,8 +77,6 @@ struct virtpci_driver {
 	const char *name;	/* the name of the driver in sysfs */
 	const char *version;
 	const char *vertag;
-	const char *build_date;
-	const char *build_time;
 	const struct pci_device_id *id_table;	/* must be non-NULL for probe
 						 * to be called */
 	int (*probe)(struct virtpci_dev *dev,
-- 
1.9.3



More information about the devel mailing list