diff options
Diffstat (limited to 'drivers/isdn/gigaset/gigaset.h')
-rw-r--r-- | drivers/isdn/gigaset/gigaset.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/drivers/isdn/gigaset/gigaset.h b/drivers/isdn/gigaset/gigaset.h index 04457571923d..7acae34e66e0 100644 --- a/drivers/isdn/gigaset/gigaset.h +++ b/drivers/isdn/gigaset/gigaset.h | |||
@@ -72,33 +72,6 @@ | |||
72 | 72 | ||
73 | #define MAXACT 3 | 73 | #define MAXACT 3 |
74 | 74 | ||
75 | #define IFNULL(a) \ | ||
76 | if (unlikely(!(a))) | ||
77 | |||
78 | #define IFNULLRET(a) \ | ||
79 | if (unlikely(!(a))) { \ | ||
80 | err("%s==NULL at %s:%d!", #a, __FILE__, __LINE__); \ | ||
81 | return; \ | ||
82 | } | ||
83 | |||
84 | #define IFNULLRETVAL(a,b) \ | ||
85 | if (unlikely(!(a))) { \ | ||
86 | err("%s==NULL at %s:%d!", #a, __FILE__, __LINE__); \ | ||
87 | return (b); \ | ||
88 | } | ||
89 | |||
90 | #define IFNULLCONT(a) \ | ||
91 | if (unlikely(!(a))) { \ | ||
92 | err("%s==NULL at %s:%d!", #a, __FILE__, __LINE__); \ | ||
93 | continue; \ | ||
94 | } | ||
95 | |||
96 | #define IFNULLGOTO(a,b) \ | ||
97 | if (unlikely(!(a))) { \ | ||
98 | err("%s==NULL at %s:%d!", #a, __FILE__, __LINE__); \ | ||
99 | goto b; \ | ||
100 | } | ||
101 | |||
102 | extern int gigaset_debuglevel; /* "needs" cast to (enum debuglevel) */ | 75 | extern int gigaset_debuglevel; /* "needs" cast to (enum debuglevel) */ |
103 | 76 | ||
104 | /* any combination of these can be given with the 'debug=' parameter to insmod, | 77 | /* any combination of these can be given with the 'debug=' parameter to insmod, |