[PATCH] staging: unisys: remove unused types from visorchipset.h

2014-11-10 Thread Benjamin Romer
Delete the following unused types, and unused function prototypes:

VISORCHIPSET_SWITCH_INFO
VISORCHIPSET_EXTERNALPORT_INFO
VISORCHIPSET_INTERNALPORT_INFO
visorchipset_get_switch_info()
visorchipset_get_externalport_info()

Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
 drivers/staging/unisys/visorchipset/visorchipset.h | 55 --
 1 file changed, 55 deletions(-)

diff --git a/drivers/staging/unisys/visorchipset/visorchipset.h 
b/drivers/staging/unisys/visorchipset/visorchipset.h
index 46dad63..98f3ba4 100644
--- a/drivers/staging/unisys/visorchipset/visorchipset.h
+++ b/drivers/staging/unisys/visorchipset/visorchipset.h
@@ -158,61 +158,6 @@ findbus(struct list_head *list, u32 bus_no)
return NULL;
 }
 
-/** Attributes for a particular Supervisor switch.
- */
-struct visorchipset_switch_info {
-   u32 switch_no;
-   struct visorchipset_state state;
-   uuid_le switch_type_uuid;
-   u8 *authservice1;
-   u8 *authservice2;
-   u8 *authservice3;
-   u8 *security_context;
-   u64 reserved;
-   u32 reserved2;  /* control_vm_id */
-   struct device dev;
-   BOOL dev_exists;
-   struct controlvm_message_header pending_msg_hdr;
-};
-
-/** Attributes for a particular Supervisor external port, which is connected
- *  to a specific switch.
- */
-struct visorchipset_externalport_info {
-   u32 switch_no;
-   u32 external_port_no;
-   struct visorchipset_state state;
-   uuid_le network_zone_uuid;
-   int pd_port;
-   u8 *ip;
-   u8 *ip_netmask;
-   u8 *ip_broadcast;
-   u8 *ip_network;
-   u8 *ip_gateway;
-   u8 *ip_dns;
-   u64 reserved1;
-   u32 reserved2;  /* control_vm_id */
-   struct device dev;
-   BOOL dev_exists;
-   struct controlvm_message_header pending_msg_hdr;
-};
-
-/** Attributes for a particular Supervisor internal port, which is how a
- *  device connects to a particular switch.
- */
-struct visorchipset_internalport_info {
-   u32 switch_no;
-   u32 internal_port_no;
-   struct visorchipset_state state;
-   u32 bus_no; /* valid only when state.attached == 1 */
-   u32 dev_no; /* valid only when state.attached == 1 */
-   u64 reserved1;
-   u32 reserved2;  /* CONTROLVM_ID */
-   struct controlvm_message_header pending_msg_hdr;
-   MYPROCOBJECT *proc_object;
-
-};
-
 /*  These functions will be called from within visorchipset when certain
  *  events happen.  (The implementation of these functions is outside of
  *  visorchipset.)
-- 
2.1.0

___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel


[PATCH] staging: unisys: remove unused types from visorchipset.h

2014-11-05 Thread Benjamin Romer
Delete the following unused types, and unused function prototypes:

VISORCHIPSET_SWITCH_INFO
VISORCHIPSET_EXTERNALPORT_INFO
VISORCHIPSET_INTERNALPORT_INFO
visorchipset_get_switch_info()
visorchipset_get_externalport_info()

Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
---
 drivers/staging/unisys/visorchipset/visorchipset.h | 62 --
 1 file changed, 62 deletions(-)

diff --git a/drivers/staging/unisys/visorchipset/visorchipset.h 
b/drivers/staging/unisys/visorchipset/visorchipset.h
index feae368..65109ee 100644
--- a/drivers/staging/unisys/visorchipset/visorchipset.h
+++ b/drivers/staging/unisys/visorchipset/visorchipset.h
@@ -158,63 +158,6 @@ findbus(struct list_head *list, u32 busNo)
return NULL;
 }
 
-/** Attributes for a particular Supervisor switch.
- */
-typedef struct {
-   u32 switchNo;
-   VISORCHIPSET_STATE state;
-   uuid_le switchTypeGuid;
-   u8 *authService1;
-   u8 *authService2;
-   u8 *authService3;
-   u8 *securityContext;
-   u64 Reserved;
-   u32 Reserved2;  /* control_vm_id */
-   struct device dev;
-   BOOL dev_exists;
-   struct controlvm_message_header pendingMsgHdr;
-
-} VISORCHIPSET_SWITCH_INFO;
-
-/** Attributes for a particular Supervisor external port, which is connected
- *  to a specific switch.
- */
-typedef struct {
-   u32 switchNo;
-   u32 externalPortNo;
-   VISORCHIPSET_STATE state;
-   uuid_le networkZoneGuid;
-   int pdPort;
-   u8 *ip;
-   u8 *ipNetmask;
-   u8 *ipBroadcast;
-   u8 *ipNetwork;
-   u8 *ipGateway;
-   u8 *ipDNS;
-   u64 Reserved1;
-   u32 Reserved2;  /* control_vm_id */
-   struct device dev;
-   BOOL dev_exists;
-   struct controlvm_message_header pendingMsgHdr;
-
-} VISORCHIPSET_EXTERNALPORT_INFO;
-
-/** Attributes for a particular Supervisor internal port, which is how a
- *  device connects to a particular switch.
- */
-typedef struct {
-   u32 switchNo;
-   u32 internalPortNo;
-   VISORCHIPSET_STATE state;
-   u32 busNo;  /* valid only when state.attached == 1 */
-   u32 devNo;  /* valid only when state.attached == 1 */
-   u64 Reserved1;
-   u32 Reserved2;  /* CONTROLVM_ID */
-   struct controlvm_message_header pendingMsgHdr;
-   MYPROCOBJECT *procObject;
-
-} VISORCHIPSET_INTERNALPORT_INFO;
-
 /*  These functions will be called from within visorchipset when certain
  *  events happen.  (The implementation of these functions is outside of
  *  visorchipset.)
@@ -275,11 +218,6 @@ void visorchipset_device_pause_response(ulong busNo, ulong 
devNo, int response);
 BOOL visorchipset_get_bus_info(ulong busNo, VISORCHIPSET_BUS_INFO *busInfo);
 BOOL visorchipset_get_device_info(ulong busNo, ulong devNo,
  VISORCHIPSET_DEVICE_INFO *devInfo);
-BOOL visorchipset_get_switch_info(ulong switchNo,
- VISORCHIPSET_SWITCH_INFO *switchInfo);
-BOOL visorchipset_get_externalport_info(ulong switchNo, ulong externalPortNo,
-   VISORCHIPSET_EXTERNALPORT_INFO
-   *externalPortInfo);
 BOOL visorchipset_set_bus_context(ulong busNo, void *context);
 BOOL visorchipset_set_device_context(ulong busNo, ulong devNo, void *context);
 int visorchipset_chipset_ready(void);
-- 
2.1.0

___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel


Re: [PATCH] staging: unisys: remove unused types from visorchipset.h

2014-11-05 Thread Greg KH
On Wed, Nov 05, 2014 at 12:47:49PM -0500, Benjamin Romer wrote:
 Delete the following unused types, and unused function prototypes:
 
 VISORCHIPSET_SWITCH_INFO
 VISORCHIPSET_EXTERNALPORT_INFO
 VISORCHIPSET_INTERNALPORT_INFO
 visorchipset_get_switch_info()
 visorchipset_get_externalport_info()
 
 Signed-off-by: Benjamin Romer benjamin.ro...@unisys.com
 ---
  drivers/staging/unisys/visorchipset/visorchipset.h | 62 
 --
  1 file changed, 62 deletions(-)

You already sent this patch, right?  I doesn't apply at all to my tree
:(
___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel