Staging: slicoss: remove ASSERTMSG macro
authorGreg Kroah-Hartman <gregkh@suse.de>
Thu, 26 Feb 2009 23:37:08 +0000 (15:37 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 3 Apr 2009 21:53:08 +0000 (14:53 -0700)
No one uses it, so drop it.

Cc: Lior Dotan <liodot@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/slicoss/slicdbg.h

index b5643ce..cafe8b6 100644 (file)
        }                                                                 \
     }
 #endif
-#ifndef ASSERTMSG
-#define ASSERTMSG(a,msg)                                                  \
-    {                                                                     \
-       if (!(a)) {                                                       \
-               printk(KERN_ERR "ASSERT() Failure: file %s, function %s" \
-                       "line %d: %s\n",\
-                       __FILE__, __func__, __LINE__, (msg));            \
-               slic_assert_fail();                                      \
-       }                                                                \
-    }
-#endif
 #else
 #ifndef ASSERT
 #define ASSERT(a)
 #endif
-#ifndef ASSERTMSG
-#define ASSERTMSG(a, msg)
-#endif
 #endif /* SLIC_ASSERT_ENABLED  */
 
 #endif  /*  _SLIC_DEBUG_H_  */