Remove unneeded casts of memory-alloc function return values
cover Remove unneeded casts of memory-alloc function return values
The memory-alloc() functions return a void pointer, so when assigning to a pointer type variable there is no need to cast the return value.
Quoted 3 lines · Firo Yang
The memory-alloc() functions return a void pointer, so when assigning to a pointer type variable there is no need to cast the return value.
If you used a tool to find these, it would be nice to give credit to that tool.
julia
Quoted 6 lines
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html