[PATCH] vmbus: remove no longer used per_channel_state

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The per_channel_state in vmbus_channel struct is no longer
used by any vmbus device and can be removed now.

Signed-off-by: Stephen Hemminger <sthemmin@xxxxxxxxxxxxx>
---
 include/linux/hyperv.h | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h
index e09fc8290c2f..5dc4323e6f30 100644
--- a/include/linux/hyperv.h
+++ b/include/linux/hyperv.h
@@ -843,10 +843,6 @@ struct vmbus_channel {
 	 */
 	struct vmbus_channel *primary_channel;
 	/*
-	 * Support per-channel state for use by vmbus drivers.
-	 */
-	void *per_channel_state;
-	/*
 	 * To support per-cpu lookup mapping of relid to channel,
 	 * link up channels based on their CPU affinity.
 	 */
@@ -916,16 +912,6 @@ static inline void set_channel_read_mode(struct vmbus_channel *c,
 	c->callback_mode = mode;
 }
 
-static inline void set_per_channel_state(struct vmbus_channel *c, void *s)
-{
-	c->per_channel_state = s;
-}
-
-static inline void *get_per_channel_state(struct vmbus_channel *c)
-{
-	return c->per_channel_state;
-}
-
 static inline void set_channel_pending_send_size(struct vmbus_channel *c,
 						 u32 size)
 {
-- 
2.11.0

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



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux