[PATCH] remove gcc-2 checks
Remove various things which were checking for gcc-1.x and gcc-2.x compilers. From: Adrian Bunk <bunk@stusta.de> Some documentation updates and removes some code paths for gcc < 3.2. Acked-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
fd285bb54d
commit
a136564702
@@ -115,18 +115,11 @@ MODULE_PARM_DESC(osrun_time, "how many seconds to wait for the ICS2115 OS");
|
||||
|
||||
#ifdef WF_DEBUG
|
||||
|
||||
#if defined(NEW_MACRO_VARARGS) || __GNUC__ >= 3
|
||||
#define DPRINT(cond, ...) \
|
||||
if ((dev->debug & (cond)) == (cond)) { \
|
||||
snd_printk (__VA_ARGS__); \
|
||||
}
|
||||
#else
|
||||
#define DPRINT(cond, args...) \
|
||||
if ((dev->debug & (cond)) == (cond)) { \
|
||||
snd_printk (args); \
|
||||
}
|
||||
#endif
|
||||
#else
|
||||
#define DPRINT(cond, args...)
|
||||
#endif /* WF_DEBUG */
|
||||
|
||||
|
Reference in New Issue
Block a user