Tag: 6469933605a3ecdfa66b98160cde98ecd256cb3f

ethernet: 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