mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
[PATCH] remove gcc-2 checks
Remove various things which were checking for gcc-1.x and gcc-2.x compilers. From: Adrian Bunk <[email protected]> Some documentation updates and removes some code paths for gcc < 3.2. Acked-by: Russell King <[email protected]> Signed-off-by: Adrian Bunk <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
fd285bb54d
commit
a136564702
32 changed files with 37 additions and 194 deletions
|
|
@ -306,9 +306,6 @@ static int raid0_run (mddev_t *mddev)
|
|||
printk("raid0 : conf->hash_spacing is %llu blocks.\n",
|
||||
(unsigned long long)conf->hash_spacing);
|
||||
{
|
||||
#if __GNUC__ < 3
|
||||
volatile
|
||||
#endif
|
||||
sector_t s = mddev->array_size;
|
||||
sector_t space = conf->hash_spacing;
|
||||
int round;
|
||||
|
|
@ -439,9 +436,6 @@ static int raid0_make_request (request_queue_t *q, struct bio *bio)
|
|||
|
||||
|
||||
{
|
||||
#if __GNUC__ < 3
|
||||
volatile
|
||||
#endif
|
||||
sector_t x = block >> conf->preshift;
|
||||
sector_div(x, (u32)conf->hash_spacing);
|
||||
zone = conf->hash_table[x];
|
||||
|
|
|
|||
Loading…
Reference in a new issue