pcmcia: deprecate CS_SUCCESS
Instead of using own error or success codes, the PCMCIA code should rely on the generic return values. Therefore, replace all occurrences of CS_SUCCESS with 0. CC: netdev@vger.kernel.org Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
This commit is contained in:
@@ -134,7 +134,7 @@ static int add_interval(struct resource_map *map, u_long base, u_long num)
|
||||
if (!q) return CS_OUT_OF_RESOURCE;
|
||||
q->base = base; q->num = num;
|
||||
q->next = p->next; p->next = q;
|
||||
return CS_SUCCESS;
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*====================================================================*/
|
||||
@@ -174,7 +174,7 @@ static int sub_interval(struct resource_map *map, u_long base, u_long num)
|
||||
}
|
||||
}
|
||||
}
|
||||
return CS_SUCCESS;
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*======================================================================
|
||||
|
Verwijs in nieuw issue
Block a user