Skip to content

Commit

Permalink
Remove duplicate macros for likely/unlikely
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Linsell <stevenx.linsell@intel.com>
  • Loading branch information
stevelinsell committed Aug 9, 2017
1 parent fa95417 commit c8383f5
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions e_qat.c
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,6 @@
#include "icp_sal_poll.h"
#include "qat_parseconf.h"

#define likely(x) __builtin_expect (!!(x), 1)
#define unlikely(x) __builtin_expect (!!(x), 0)

/* Macro used to handle errors in qat_engine_ctrl() */
#define BREAK_IF(cond, mesg) \
if(unlikely(cond)) { retVal = 0; WARN(mesg); break; }
Expand Down

0 comments on commit c8383f5

Please sign in to comment.