Tag: c2fd03a0115a244c5f622453b2b1f038ed5700a6

drivers: net: Remove casts to same type

Author: Joe Perches <joe@perches.com> Adding casts of objects to the same type is unnecessary and confusing for a human reader. For example, this cast: int y; int *p = (int *)&y; I used the coccinelle script below to find and remove these unnecessary casts. I manually removed the conversions this script produces of casts with …

Continue reading