From: Joe Perches Date: Mon, 4 Jun 2012 12:44:18 +0000 (+0000) Subject: drivers: net: Remove casts to same type X-Git-Tag: v3.6-rc1~125^2~599 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2fd03a0115a244c5f622453b2b1f038ed5700a6;p=pandora-kernel.git drivers: net: Remove casts to same type 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 __force, __iomem and __user. @@ type T; T *p; @@ - (T *)p + p Signed-off-by: Joe Perches Signed-off-by: David S. Miller --- Reading git-diff-tree failed