Skip to content

Commit

Permalink
providers/qelr: Remove unused macros
Browse files Browse the repository at this point in the history
The DP_NOTICE and DP_INFO macros are not used - Remove them.

Signed-off-by: Kamal Heib <[email protected]>
  • Loading branch information
Kamalheib committed Mar 17, 2024
1 parent f884585 commit 4830cc5
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions providers/qedr/qelr.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,24 +81,6 @@ do { \
fflush(fd); \
} while (0)

#define DP_NOTICE(fd, fmt, ...) \
do { \
if (qelr_dp_level <= QELR_LEVEL_NOTICE) {\
fprintf(fd, "[%s:%d]" fmt, \
__func__, __LINE__, \
##__VA_ARGS__); \
fflush(fd); } \
} while (0)

#define DP_INFO(fd, fmt, ...) \
do { \
if (qelr_dp_level <= QELR_LEVEL_INFO) { \
fprintf(fd, "[%s:%d]" fmt, \
__func__, __LINE__, \
##__VA_ARGS__); fflush(fd); \
} \
} while (0)

#define DP_VERBOSE(fd, module, fmt, ...) \
do { \
if ((qelr_dp_level <= QELR_LEVEL_VERBOSE) && \
Expand Down

0 comments on commit 4830cc5

Please sign in to comment.