staging: unisys: visorbus: vbuschannel.h: removed VISOR_VBUS_CHANNEL_SIGNATURE
authorAlex Curtin <alexander.curtin@unisys.com>
Mon, 17 Jul 2017 20:16:51 +0000 (16:16 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Jul 2017 06:48:41 +0000 (08:48 +0200)
VISOR_VBUS_CHANNEL_SIGNATURE just pointed to VISOR_CHANNEL_SIGNATURE, so
this replaces the redundant definition with VISOR_CHANNEL_SIGNATURE.

Signed-off-by: Alex Curtin <alexander.curtin@unisys.com>
Signed-off-by: David Kershner <david.kershner@unisys.com>
Reviewed-by: David Binder <david.binder@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorbus/vbuschannel.h
drivers/staging/unisys/visorbus/visorbus_main.c

index 56114f5..2c820e2 100644 (file)
@@ -34,8 +34,6 @@
        UUID_LE(0x193b331b, 0xc58f, 0x11da, \
                0x95, 0xa9, 0x0, 0xe0, 0x81, 0x61, 0x16, 0x5f)
 
-#define VISOR_VBUS_CHANNEL_SIGNATURE VISOR_CHANNEL_SIGNATURE
-
 /*
  * Must increment this whenever you insert or delete fields within this channel
  * struct.  Also increment whenever you change the meaning of fields within this
index 7823593..1a212ec 100644 (file)
@@ -701,7 +701,7 @@ get_vbus_header_info(struct visorchannel *chan,
                                 "vbus",
                                 sizeof(struct visor_vbus_channel),
                                 VISOR_VBUS_CHANNEL_VERSIONID,
-                                VISOR_VBUS_CHANNEL_SIGNATURE))
+                                VISOR_CHANNEL_SIGNATURE))
                return -EINVAL;
 
        err = visorchannel_read(chan, sizeof(struct channel_header), hdr_info,