Changeset 3978

Show
Ignore:
Timestamp:
04/30/05 21:53:50 (9 years ago)
Author:
khali
Message:

Drop Linux 2.5+ compatibility code in sclhi(). Thanks to Thomas
Jarosch for reporting.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • i2c/trunk/kernel/i2c-algo-bit.c

    r3954 r3978  
    101101                        return -ETIMEDOUT; 
    102102                } 
    103 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0) 
    104103                if (current->need_resched) 
    105104                        schedule(); 
    106 #else 
    107                 cond_resched(); 
    108 #endif 
    109105        } 
    110106        DEBSTAT(printk(KERN_DEBUG "needed %ld jiffies\n", jiffies-start));