]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
staging: unisys: remove pointless macros
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Nov 2014 16:13:24 +0000 (08:13 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Nov 2014 16:13:24 +0000 (08:13 -0800)
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>
drivers/staging/unisys/common-spar/include/channels/controlframework.h

index 80e2df139ea3529d65ae17a9a4ea684e370659a9..33d9caf337c806c1f469c9a30b77926d03cfd6f1 100644 (file)
 #include <linux/types.h>
 #include "channel.h"
 
-#define ULTRA_MEMORY_COUNT_Ki 1024
-
-/* Scale order 0 is one 32-bit (4-byte) word (in 64 or 128-bit
- * architecture potentially 64 or 128-bit word) */
-#define ULTRA_MEMORY_PAGE_WORD 4
-
-/* Define Ki scale page to be traditional 4KB page */
-#define ULTRA_MEMORY_PAGE_Ki (ULTRA_MEMORY_PAGE_WORD * ULTRA_MEMORY_COUNT_Ki)
 struct spar_segment_state  {
        u16 enabled:1;          /* Bit 0: May enter other states */
        u16 active:1;           /* Bit 1: Assigned to active partition */