All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Kershner <david.kershner@unisys.com>
To: gregkh@linuxfoundation.org,
	driverdev-devel@linuxdriverproject.org,
	sparmaintainer@unisys.com, jes.sorensen@redhat.com
Subject: [PATCH 09/13] staging: unisys: visorbus: vbuschannel.h remove unused pound defines
Date: Tue, 4 Oct 2016 10:16:47 -0400	[thread overview]
Message-ID: <1475590611-18117-10-git-send-email-david.kershner@unisys.com> (raw)
In-Reply-To: <1475590611-18117-1-git-send-email-david.kershner@unisys.com>

From: Erik Arfvidson <erik.arfvidson@unisys.com>

this patch removes all the unused pound defines currently
in vbuschannel.h

Signed-off-by: Erik Arfvidson <erik.arfvidson@unisys.com>
Signed-off-by: David Kershner <david.kershner@unisys.com>
---
 drivers/staging/unisys/visorbus/vbuschannel.h | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/drivers/staging/unisys/visorbus/vbuschannel.h b/drivers/staging/unisys/visorbus/vbuschannel.h
index e979175..6bca83e 100644
--- a/drivers/staging/unisys/visorbus/vbuschannel.h
+++ b/drivers/staging/unisys/visorbus/vbuschannel.h
@@ -50,12 +50,6 @@ static const uuid_le spar_vbus_channel_protocol_uuid =
 				   SPAR_VBUS_CHANNEL_PROTOCOL_VERSIONID, \
 				   SPAR_VBUS_CHANNEL_PROTOCOL_SIGNATURE)
 
-#define SPAR_VBUS_CHANNEL_OK_SERVER(actual_bytes)    \
-	(spar_check_channel_server(spar_vbus_channel_protocol_uuid,	\
-				   "vbus",				\
-				   sizeof(struct spar_vbus_channel_protocol),\
-				   actual_bytes))
-
 #pragma pack(push, 1)		/* both GCC and VC now allow this pragma */
 
 /*
@@ -293,11 +287,6 @@ struct spar_vbus_channel_protocol {
 	/* describes client device and driver for each device on the bus */
 };
 
-#define VBUS_CH_SIZE_EXACT(MAXDEVICES) \
-	(sizeof(ULTRA_VBUS_CHANNEL_PROTOCOL) + ((MAXDEVICES) * \
-						sizeof(ULTRA_VBUS_DEVICEINFO)))
-#define VBUS_CH_SIZE(MAXDEVICES) COVER(VBUS_CH_SIZE_EXACT(MAXDEVICES), 4096)
-
 #pragma pack(pop)
 
 #endif
-- 
1.9.1

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

  parent reply	other threads:[~2016-10-04 14:18 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-04 14:16 [PATCH 00/13] staging: unisys: Convert client_bus_info to debugfs David Kershner
2016-10-04 14:16 ` [PATCH 01/13] staging: unisys: visorbus: controlvmchannel.h remove unused pound defines David Kershner
2016-10-09 15:05   ` Greg KH
2016-10-04 14:16 ` [PATCH 02/13] staging: unisys: visorbus: controlvmchannel.h fix comments David Kershner
2016-10-09 15:06   ` Greg KH
2016-10-04 14:16 ` [PATCH 03/13] staging: unisys: visorbus: controlvmchannel.h fix spacing David Kershner
2016-10-09 15:07   ` Greg KH
2016-10-04 14:16 ` [PATCH 04/13] staging: unisys: include: include.h remove unused pound defines David Kershner
2016-10-09 15:07   ` Greg KH
2016-10-04 14:16 ` [PATCH 05/13] staging: unisys: visorbus: remove unused initializations David Kershner
2016-10-09 15:08   ` Greg KH
2016-10-04 14:16 ` [PATCH 06/13] staging: unisys: include: iochannel.h remove unused pound defines David Kershner
2016-10-04 14:16 ` [PATCH 07/13] staging: unisys: include: channel.h " David Kershner
2016-10-04 14:16 ` [PATCH 08/13] staging: unisys: visorbus: vmcallinterface.h " David Kershner
2016-10-04 14:16 ` David Kershner [this message]
2016-10-04 14:16 ` [PATCH 10/13] staging: unisys: visorbus: visorchannel.c rename 'local' variable to dest David Kershner
2016-10-04 14:16 ` [PATCH 11/13] staging: unisys: visorbus: visorbus_private rename 'local' var " David Kershner
2016-10-04 14:16 ` [PATCH 12/13] staging: unisys: visorbus: move DEVICE_ATTR_RO defs as-per conventions David Kershner
2016-10-04 14:16 ` [PATCH 13/13] staging: unisys: visorbus: convert client_bus_info sysfs to debugfs David Kershner
2016-10-09 15:09 ` [PATCH 00/13] staging: unisys: Convert client_bus_info " Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1475590611-18117-10-git-send-email-david.kershner@unisys.com \
    --to=david.kershner@unisys.com \
    --cc=driverdev-devel@linuxdriverproject.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=jes.sorensen@redhat.com \
    --cc=sparmaintainer@unisys.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.