Use NULL as default value for pointer type
Using zero there is confusing since it's a pointer to an integer. Change-Id: Ief2368954c71005c529e3eea3fee5df2630e44c1
This commit is contained in:
parent
00f52cc3d6
commit
1f8e229221
|
@ -147,7 +147,7 @@ static int compute_usage_for_algo_a(const struct gprs_rlcmac_pdch *pdch, enum gp
|
|||
*/
|
||||
static int find_least_busy_pdch(const struct gprs_rlcmac_trx *trx, enum gprs_rlcmac_tbf_direction dir, uint8_t mask,
|
||||
int (*fn)(const struct gprs_rlcmac_pdch *, enum gprs_rlcmac_tbf_direction dir),
|
||||
int *free_tfi = 0, int *free_usf = 0)
|
||||
int *free_tfi = NULL, int *free_usf = NULL)
|
||||
{
|
||||
unsigned ts;
|
||||
int min_used = INT_MAX;
|
||||
|
|
Loading…
Reference in New Issue