staging: unisys: clean up CamelCase parameter in SPAR_VHBA_CHANNEL_OK_CLIENT
authorBenjamin Romer <benjamin.romer@unisys.com>
Thu, 23 Oct 2014 18:30:50 +0000 (14:30 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Oct 2014 02:33:13 +0000 (10:33 +0800)
Remove the unused logCtx parameter and fix CamelCase parameter name:

pChannel => ch

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/iochannel.h
drivers/staging/unisys/uislib/uislib.c

index 631fc0450bf2b1ea9d156f927c4b4f787edf107b..2e015498eb4f6b80216204941a60e2600e419a8e 100644 (file)
@@ -59,8 +59,8 @@
 #define ULTRA_VNIC_CHANNEL_PROTOCOL_VERSIONID 2
 #define ULTRA_VSWITCH_CHANNEL_PROTOCOL_VERSIONID 1
 
-#define SPAR_VHBA_CHANNEL_OK_CLIENT(pChannel, logCtx)                  \
-       (spar_check_channel_client(pChannel, spar_vhba_channel_protocol_uuid, \
+#define SPAR_VHBA_CHANNEL_OK_CLIENT(ch)                        \
+       (spar_check_channel_client(ch, spar_vhba_channel_protocol_uuid, \
                                   "vhba", MIN_IO_CHANNEL_SIZE, \
                                   ULTRA_VHBA_CHANNEL_PROTOCOL_VERSIONID, \
                                   ULTRA_VHBA_CHANNEL_PROTOCOL_SIGNATURE))
index b8db2700a1df809020f1843ad55177388db0f44c..72c8479fe49cab2590ff2d8777f71c3fd901a76f 100644 (file)
@@ -450,7 +450,7 @@ create_device(struct controlvm_message *msg, char *buf)
                                                                  chanptr))->
                                                            chtype);
                                        if (!SPAR_VHBA_CHANNEL_OK_CLIENT
-                                           (dev->chanptr, NULL)) {
+                                           (dev->chanptr)) {
                                                LOGERR("CONTROLVM_DEVICE_CREATE Failed:[CLIENT]VHBA dev %d chan invalid.",
                                                     devNo);
                                                POSTCODE_LINUX_4
This page took 0.026415 seconds and 5 git commands to generate.