diff options
author | Erik Arfvidson <erik.arfvidson@unisys.com> | 2016-12-01 01:31:04 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-12-01 03:58:48 -0500 |
commit | 22744c96c7a4c41e6fd60058b165965d58b24cbc (patch) | |
tree | b10a4304e182eb478fab9371ea1e78ed4b172db8 | |
parent | a96f58c1dcb981252f898c6ed49b8c5233c19d45 (diff) |
staging: unisys: visorbus: vbuschannel.h remove unused pound defines
This patch removes all the unused pound defines currently in
vbuschannel.h.
Signed-off-by: Erik Arfvidson <erik.arfvidson@unisys.com>
Signed-off-by: David Kershner <david.kershner@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/unisys/visorbus/vbuschannel.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/staging/unisys/visorbus/vbuschannel.h b/drivers/staging/unisys/visorbus/vbuschannel.h index 2409b1558d12..b0df26155d02 100644 --- a/drivers/staging/unisys/visorbus/vbuschannel.h +++ b/drivers/staging/unisys/visorbus/vbuschannel.h | |||
@@ -51,12 +51,6 @@ static const uuid_le spar_vbus_channel_protocol_uuid = | |||
51 | SPAR_VBUS_CHANNEL_PROTOCOL_VERSIONID, \ | 51 | SPAR_VBUS_CHANNEL_PROTOCOL_VERSIONID, \ |
52 | SPAR_VBUS_CHANNEL_PROTOCOL_SIGNATURE) | 52 | SPAR_VBUS_CHANNEL_PROTOCOL_SIGNATURE) |
53 | 53 | ||
54 | #define SPAR_VBUS_CHANNEL_OK_SERVER(actual_bytes) \ | ||
55 | (spar_check_channel_server(spar_vbus_channel_protocol_uuid, \ | ||
56 | "vbus", \ | ||
57 | sizeof(struct spar_vbus_channel_protocol),\ | ||
58 | actual_bytes)) | ||
59 | |||
60 | #pragma pack(push, 1) /* both GCC and VC now allow this pragma */ | 54 | #pragma pack(push, 1) /* both GCC and VC now allow this pragma */ |
61 | 55 | ||
62 | /* | 56 | /* |
@@ -133,11 +127,6 @@ struct spar_vbus_channel_protocol { | |||
133 | /* describes client device and driver for each device on the bus */ | 127 | /* describes client device and driver for each device on the bus */ |
134 | }; | 128 | }; |
135 | 129 | ||
136 | #define VBUS_CH_SIZE_EXACT(MAXDEVICES) \ | ||
137 | (sizeof(ULTRA_VBUS_CHANNEL_PROTOCOL) + ((MAXDEVICES) * \ | ||
138 | sizeof(ULTRA_VBUS_DEVICEINFO))) | ||
139 | #define VBUS_CH_SIZE(MAXDEVICES) COVER(VBUS_CH_SIZE_EXACT(MAXDEVICES), 4096) | ||
140 | |||
141 | #pragma pack(pop) | 130 | #pragma pack(pop) |
142 | 131 | ||
143 | #endif | 132 | #endif |