Skip to content

Commit

Permalink
staging: hv: remove ASSERT in logging.h
Browse files Browse the repository at this point in the history
ASSERT is no longer used in hv, so remove the define

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Hank Janssen <hjanssen@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Bill Pemberton authored and Greg Kroah-Hartman committed May 11, 2010
1 parent 7906968 commit e8d5373
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions drivers/staging/hv/logging.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,6 @@

extern unsigned int vmbus_loglevel;

#define ASSERT(expr) \
if (!(expr)) { \
printk(KERN_CRIT "Assertion failed! %s,%s,%s,line=%d\n", \
#expr, __FILE__, __func__, __LINE__); \
__asm__ __volatile__("int3"); \
}

#define DPRINT(mod, lvl, fmt, args...) do {\
if ((mod & (HIWORD(vmbus_loglevel))) && \
(lvl <= LOWORD(vmbus_loglevel))) \
Expand Down

0 comments on commit e8d5373

Please sign in to comment.