OSDN Git Service

staging: unisys: remove ULTRA_CONTROLVM_CHANNEL_OK_SERVER macro
authorBenjamin Romer <benjamin.romer@unisys.com>
Thu, 23 Oct 2014 18:30:15 +0000 (14:30 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Oct 2014 02:33:10 +0000 (10:33 +0800)
Nobody is using this macro, so remove it entirely.

Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/common-spar/include/channels/controlvmchannel.h

index be94db6..6b3cedf 100644 (file)
@@ -52,11 +52,6 @@ static const uuid_le spar_controlvm_channel_protocol_uuid =
                                   sizeof(ULTRA_CONTROLVM_CHANNEL_PROTOCOL), \
                                   ULTRA_CONTROLVM_CHANNEL_PROTOCOL_VERSIONID, \
                                   ULTRA_CONTROLVM_CHANNEL_PROTOCOL_SIGNATURE))
-#define ULTRA_CONTROLVM_CHANNEL_OK_SERVER(actualBytes)        \
-       (spar_check_channel_server(spar_controlvm_channel_protocol_uuid,\
-                                   "controlvm",                        \
-                                   sizeof(ULTRA_CONTROLVM_CHANNEL_PROTOCOL), \
-                                   actualBytes))
 
 #define MY_DEVICE_INDEX 0
 #define MAX_MACDATA_LEN 8 /* number of bytes for MAC address in config packet */