From: Adam Jackson <a...@redhat.com>

Again, just obfuscation.

Signed-off-by: Adam Jackson <a...@redhat.com>
---
 usr/actor.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/usr/actor.c b/usr/actor.c
index 9c2f449..e4e8a24 100644
--- a/usr/actor.c
+++ b/usr/actor.c
@@ -38,7 +38,6 @@ static volatile uint64_t actor_jiffies = 0;
         __ret; \
 })
 
-#define ACTOR_TICKS_10MS(_a)   (_a)
 #define ACTOR_MS_TO_TICKS(_a)  ((_a)/ACTOR_RESOLUTION)
 
 static uint64_t
@@ -246,8 +245,7 @@ actor_poll(void)
                current_time = actor_jiffies;
                scheduler_loops = 0;
                /* checking whether we are in the same tick... */
-               if ( ACTOR_TICKS_10MS(current_time) !=
-                    ACTOR_TICKS_10MS(previous_time)) {
+               if (current_time != previous_time) {
                        previous_time = current_time;
                        actor_check(current_time);
                }
-- 
1.8.1.4

-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to open-iscsi+unsubscr...@googlegroups.com.
To post to this group, send email to open-iscsi@googlegroups.com.
Visit this group at http://groups.google.com/group/open-iscsi?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to