From: David Binder Date: Wed, 27 Sep 2017 17:14:41 +0000 (-0400) Subject: staging: unisys: include: Remove unnecessary macro to generate signature X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e27b10aa89192fc9d4fc07e9f1aaa592dca2851d;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: David Kershner Reviewed-by: Tim Sell Signed-off-by: Greg Kroah-Hartman --- 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 #include -#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