Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1652138 > unrolled thread

[PATCH 10/12] staging: ccree: drop no longer used macro

Started byGilad Ben-Yossef <gilad@benyossef.com>
First post2017-05-28 16:50 +0200
Last post2017-05-28 16:50 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 10/12] staging: ccree: drop no longer used macro Gilad Ben-Yossef <gilad@benyossef.com> - 2017-05-28 16:50 +0200

#1652138 — [PATCH 10/12] staging: ccree: drop no longer used macro

FromGilad Ben-Yossef <gilad@benyossef.com>
Date2017-05-28 16:50 +0200
Subject[PATCH 10/12] staging: ccree: drop no longer used macro
Message-ID<tM7G1-3f9-7@gated-at.bofh.it>
MSB64 macro is no longer used or needed. Drop it.

Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
---
 drivers/staging/ccree/cc_hw_queue_defs.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/staging/ccree/cc_hw_queue_defs.h b/drivers/staging/ccree/cc_hw_queue_defs.h
index ec2113a..f12761a 100644
--- a/drivers/staging/ccree/cc_hw_queue_defs.h
+++ b/drivers/staging/ccree/cc_hw_queue_defs.h
@@ -237,8 +237,6 @@ static inline void set_ack_last(struct cc_hw_desc *pdesc)
 	pdesc->word[4] |= FIELD_PREP(WORD4_ACK_NEEDED, 1);
 }
 
-#define MSB64(_addr) (sizeof(_addr) == 4 ? 0 : ((_addr) >> 32) & U16_MAX)
-
 /*
  * Set the DIN field of a HW descriptors
  *
-- 
2.1.4

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web