[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cdi-devel] [PATCH] cdi.h: Remove cdi_device.type
- cdi_device.type is redundant, we already have a pointer to the driver
which stores the type. Remove it.
Signed-off-by: Kevin Wolf <kevin@xxxxxxxxxx>
---
include/cdi.h | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/include/cdi.h b/include/cdi.h
index f45181a..b09bcff 100644
--- a/include/cdi.h
+++ b/include/cdi.h
@@ -34,7 +34,6 @@ typedef enum {
struct cdi_driver;
struct cdi_device {
- cdi_device_type_t type;
const char* name;
struct cdi_driver* driver;
--
1.6.0.2