[PATCH] drivers/char/mwave/tp3780i.c: remove kernel 2.2 #if's

This patch removes #if's for kernel 2.2 .

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by Adrian Bunk and committed by Linus Torvalds c97f97b3 f040ffab

+1 -7
+1 -7
drivers/char/mwave/tp3780i.c
··· 242 242 { 243 243 int retval = 0; 244 244 DSP_3780I_CONFIG_SETTINGS *pSettings = &pBDData->rDspSettings; 245 - #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,0) 246 245 struct resource *pres; 247 - #endif 248 246 249 247 PRINTK_2(TRACE_TP3780I, 250 248 "tp3780i::tp3780I_ClaimResources entry pBDData %p\n", pBDData); 251 249 252 - #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,0) 253 250 pres = request_region(pSettings->usDspBaseIO, 16, "mwave_3780i"); 254 251 if ( pres == NULL ) retval = -EIO; 255 - #else 256 - retval = check_region(pSettings->usDspBaseIO, 16); 257 - if (!retval) request_region(pSettings->usDspBaseIO, 16, "mwave_3780i"); 258 - #endif 252 + 259 253 if (retval) { 260 254 PRINTK_ERROR(KERN_ERR_MWAVE "tp3780i::tp3780I_ClaimResources: Error: Could not claim I/O region starting at %x\n", pSettings->usDspBaseIO); 261 255 retval = -EIO;