aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/unisys
diff options
context:
space:
mode:
authorDavid Binder <david.binder@unisys.com>2017-09-27 13:14:41 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-09-28 11:20:21 +0200
commite27b10aa89192fc9d4fc07e9f1aaa592dca2851d (patch)
tree12760f95375f064e0ee0d182ee347fc38a31e045 /drivers/staging/unisys
parentstaging: unisys: include: Rename channel.h to visorchannel.h (diff)
downloadlinux-dev-e27b10aa89192fc9d4fc07e9f1aaa592dca2851d.tar.xz
linux-dev-e27b10aa89192fc9d4fc07e9f1aaa592dca2851d.zip
staging: unisys: include: Remove unnecessary macro to generate signature
Removes unnecessary SIGNATURE_16 macro used to generate a simple 32-bit signature. Signed-off-by: David Binder <david.binder@unisys.com> Signed-off-by: David Kershner <david.kershner@unisys.com> Reviewed-by: Tim Sell <timothy.sell@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/unisys')
-rw-r--r--drivers/staging/unisys/include/visorchannel.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/staging/unisys/include/visorchannel.h b/drivers/staging/unisys/include/visorchannel.h
index 1f4a7b1b68c5..33945749c8b6 100644
--- a/drivers/staging/unisys/include/visorchannel.h
+++ b/drivers/staging/unisys/include/visorchannel.h
@@ -20,9 +20,7 @@
#include <linux/types.h>
#include <linux/uuid.h>
-#define SIGNATURE_16(A, B) ((A) | ((B) << 8))
-#define VISOR_CHANNEL_SIGNATURE \
- (SIGNATURE_16('E', 'C') | (SIGNATURE_16('N', 'L') << 16))
+#define VISOR_CHANNEL_SIGNATURE ('L' << 24 | 'N' << 16 | 'C' << 8 | 'E')
/*
* enum channel_serverstate