Sfoglia il codice sorgente

Staging: slicoss: remove ASSERTMSG macro

No one uses it, so drop it.

Cc: Lior Dotan <liodot@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Greg Kroah-Hartman 16 anni fa
parent
commit
8665b18474
1 ha cambiato i file con 0 aggiunte e 14 eliminazioni
  1. 0 14
      drivers/staging/slicoss/slicdbg.h

+ 0 - 14
drivers/staging/slicoss/slicdbg.h

@@ -57,24 +57,10 @@
 	}                                                                 \
     }
 #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_  */