mirror of https://gitee.com/openkylin/linux.git
staging: unisys: include: channel.h: remove unused pound defines
This patch removes all the unused pound defines currently in channel.h. Signed-off-by: Erik Arfvidson <erik.arfvidson@gmail.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>
This commit is contained in:
parent
0d89f94afb
commit
c4d0a30703
|
@ -21,13 +21,9 @@
|
||||||
#include <linux/io.h>
|
#include <linux/io.h>
|
||||||
#include <linux/uuid.h>
|
#include <linux/uuid.h>
|
||||||
|
|
||||||
#define __SUPERVISOR_CHANNEL_H__
|
|
||||||
|
|
||||||
#define SIGNATURE_16(A, B) ((A) | ((B) << 8))
|
#define SIGNATURE_16(A, B) ((A) | ((B) << 8))
|
||||||
#define SIGNATURE_32(A, B, C, D) \
|
#define SIGNATURE_32(A, B, C, D) \
|
||||||
(SIGNATURE_16(A, B) | (SIGNATURE_16(C, D) << 16))
|
(SIGNATURE_16(A, B) | (SIGNATURE_16(C, D) << 16))
|
||||||
#define SIGNATURE_64(A, B, C, D, E, F, G, H) \
|
|
||||||
(SIGNATURE_32(A, B, C, D) | ((u64)(SIGNATURE_32(E, F, G, H)) << 32))
|
|
||||||
|
|
||||||
#ifndef COVER
|
#ifndef COVER
|
||||||
#define COVER(v, d) ((d) * DIV_ROUND_UP(v, d))
|
#define COVER(v, d) ((d) * DIV_ROUND_UP(v, d))
|
||||||
|
|
Loading…
Reference in New Issue