diff options
| author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-11-27 11:13:24 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-11-27 11:13:24 -0500 |
| commit | aa9d9be96d33d97488e1bdf13a144931a3fce08e (patch) | |
| tree | 9a69b6349fdede0708593164e25a8f32a2ba2aa0 | |
| parent | fe2a7c05756c5a368843e8233d1c1f3fbf028511 (diff) | |
staging: unisys: remove pointless macros
These macros aren't used anywhere, so just remove them.
Cc: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| -rw-r--r-- | drivers/staging/unisys/common-spar/include/channels/controlframework.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/staging/unisys/common-spar/include/channels/controlframework.h b/drivers/staging/unisys/common-spar/include/channels/controlframework.h index 80e2df139ea3..33d9caf337c8 100644 --- a/drivers/staging/unisys/common-spar/include/channels/controlframework.h +++ b/drivers/staging/unisys/common-spar/include/channels/controlframework.h | |||
| @@ -28,14 +28,6 @@ | |||
| 28 | #include <linux/types.h> | 28 | #include <linux/types.h> |
| 29 | #include "channel.h" | 29 | #include "channel.h" |
| 30 | 30 | ||
| 31 | #define ULTRA_MEMORY_COUNT_Ki 1024 | ||
| 32 | |||
| 33 | /* Scale order 0 is one 32-bit (4-byte) word (in 64 or 128-bit | ||
| 34 | * architecture potentially 64 or 128-bit word) */ | ||
| 35 | #define ULTRA_MEMORY_PAGE_WORD 4 | ||
| 36 | |||
| 37 | /* Define Ki scale page to be traditional 4KB page */ | ||
| 38 | #define ULTRA_MEMORY_PAGE_Ki (ULTRA_MEMORY_PAGE_WORD * ULTRA_MEMORY_COUNT_Ki) | ||
| 39 | struct spar_segment_state { | 31 | struct spar_segment_state { |
| 40 | u16 enabled:1; /* Bit 0: May enter other states */ | 32 | u16 enabled:1; /* Bit 0: May enter other states */ |
| 41 | u16 active:1; /* Bit 1: Assigned to active partition */ | 33 | u16 active:1; /* Bit 1: Assigned to active partition */ |
