Commit b18f9c67 authored by Erik Arfvidson's avatar Erik Arfvidson Committed by Greg Kroah-Hartman
Browse files

staging: unisys: include: fix pound defines



The purpose of this patch is to add style consistency and
beautify the entire file. This patch removes unused pound defines
and cleans up spacing and tabbing of pound defines.

Signed-off-by: default avatarErik Arfvidson <erik.arfvidson@unisys.com>
Signed-off-by: default avatarDavid Kershner <david.kershner@unisys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 209e3500
Loading
Loading
Loading
Loading
+4 −10
Original line number Diff line number Diff line
@@ -491,8 +491,6 @@ struct uiscmdrsp_vdiskmgmt {

	/* Result of taskmgmt command - set by IOPart - values are: */
	char result;

#define VDISK_MGMT_FAILED  0
} __packed;

/* Keeping cmd and rsp info in one structure for now cmd rsp packet for SCSI */
@@ -549,12 +547,8 @@ struct spar_io_channel_protocol {
} __packed;

/* INLINE functions for initializing and accessing I/O data channels. */
#define SIZEOF_PROTOCOL (COVER(sizeof(struct spar_io_channel_protocol), 64))
#define SIZEOF_CMDRSP (COVER(sizeof(struct uiscmdrsp), 64))

#define MIN_IO_CHANNEL_SIZE COVER(SIZEOF_PROTOCOL + \
				  2 * MIN_NUMSIGNALS * SIZEOF_CMDRSP, 4096)

/* Use 4K page sizes when passing page info between Guest and IOPartition. */
#define PI_PAGE_SIZE  0x1000
#define PI_PAGE_MASK  0x0FFF